[MonoDevelop] How to set the Project References in Monodevelope IDE (System.DllNotFoundException: libclntsh.so )?

Hari phariparam at gmail.com
Mon May 5 15:22:35 UTC 2014


I am using the MonoDevelop IDE  4.2.3 and trying to run a C# application in
RedHat Linux 6.5. While running the application, the Oracle(11g) Database
"open" call is throwing the below exception. I am wondering how can I add
the reference libclntsh.so  in to the Project/Solution using the IDE or how
can I resolve the below issue?


{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
/home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.Data.OracleClient/System.Data.OracleClient.Oci/OciCalls.cs:778
   at System.Data.OracleClient.Oci.OciEnvironmentHandle..ctor
(OciEnvironmentMode mode) [0x00013] in
/home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.Data.OracleClient/System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:35
   at System.Data.OracleClient.Oci.OciGlue.CreateConnection
(OracleConnectionInfo conInfo) [0x00000] in
/home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.Data.OracleClient/System.Data.OracleClient/OciGlue.cs:88
   at System.Data.OracleClient.OracleConnectionPoolManager.CreateConnection
(OracleConnectionInfo info) [0x00006] in
/home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.Data.OracleClient/System.Data.OracleClient/OracleConnectionPoolManager.cs:57
   at System.Data.OracleClient.OracleConnectionPool.CreateConnection ()
[0x0000e] in
/home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.Data.OracleClient/System.Data.OracleClient/OracleConnectionPool.cs:97
   at System.Data.OracleClient.OracleConnectionPool.GetConnection ()
[0x000ba] in
/home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.Data.OracleClient/System.Data.OracleClient/OracleConnectionPool.cs:74
   at System.Data.OracleClient.OracleConnection.Open () [0x00071] in
/home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.Data.OracleClient/System.Data.OracleClient/OracleConnection.cs:420
   at TRQAClient.Program.ConnectAndQuery () [0x00017] in
/home/guest/source/Client/Client/Program.cs:31 }
System.DllNotFoundException

Thanks for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20140505/f7d62691/attachment.html>


More information about the Monodevelop-list mailing list