[Mono-list] Unhandled Exception: System.DllNotFoundException: libclntsh.so

wildabdat wild.an.abdat at gmail.com
Sun Mar 20 23:06:25 EDT 2011


hi, i'm new on mono develop, trying to make application to connect to oracle
DB, i found basic program examples on 
http://www.mono-project.com/Oracle#Examples
http://www.mono-project.com/Oracle#Examples  , and when i run it get
following error message

Unhandled Exception: System.DllNotFoundException: libclntsh.so
  at (wrapper managed-to-native)
System.Data.OracleClient.Oci.OciCalls/OciNativeCalls:OCIEnvCreate
(intptr&,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr)
  at System.Data.OracleClient.Oci.OciCalls.OCIEnvCreate (System.IntPtr&
envhpp, OciEnvironmentMode mode, IntPtr ctxp, IntPtr malocfp, IntPtr
ralocfp, IntPtr mfreep, Int32 xtramem_sz, IntPtr usrmempp) [0x00000] in :0 
  at System.Data.OracleClient.Oci.OciEnvironmentHandle..ctor
(OciEnvironmentMode mode) [0x00000] in :0 
  at System.Data.OracleClient.Oci.OciGlue.CreateConnection
(OracleConnectionInfo conInfo) [0x00000] in :0 
  at System.Data.OracleClient.OracleConnectionPoolManager.CreateConnection
(OracleConnectionInfo info) [0x00000] in :0 
  at System.Data.OracleClient.OracleConnectionPool.CreateConnection ()
[0x00000] in :0 
  at System.Data.OracleClient.OracleConnectionPool.GetConnection ()
[0x00000] in :0 
  at System.Data.OracleClient.OracleConnection.Open () [0x00000] in :0 
  at (wrapper remoting-invoke-with-check)
System.Data.OracleClient.OracleConnection:Open ()
  at con.MainClass.Main (System.String[] args) [0x0000f] in
/home/wildabdat/Projects/con/con/Main.cs:16

here is my environment

ubuntu maverick 10.10 64 bit
Oracle 10g Express Edition (on the same machine with mono)

can anyone solve this problem? because i dont wanna back to Windows just to
develop .Net Application

thanks...

--
@wildabdat


--
View this message in context: http://mono.1490590.n4.nabble.com/Unhandled-Exception-System-DllNotFoundException-libclntsh-so-tp3392519p3392519.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list