[Mono-dev] System.DllNotFoundException: libclntsh.so.10.1

Tolou Taherinia tolou_ta at yahoo.ca
Thu Jul 12 05:35:24 EDT 2007


Hi,

I have oracle 10gR2 and mono1.2.4 installed on suse9.3  and I get the following error when I run a web page. Both oracle and mono work well on their own however when accessing the database from a web page this error occurs. Ive included both libclntsh.so.10.1 and libclntsh.so in the /usr/lib/apache2 , /usr/lib and /lib directory. Furthermore, ive made reference to these libraries in the ld.so.conf file and ive added the oracle environment variables in the .bash_profile:
 
  export ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1  
  export ORACLE_SID=TCI     
  export PATH=/usr/bin:/usr/sbin/:$ORACLE_HOME/bin             
  export LD_LIBRARY_PATH=$ORACLE_HOME/lib                                    

  and I still get the same error any help would be greatly appreciated.

Description: Error processing request. 
  Error Message: HTTP 500. 
Stack Trace: 
System.DllNotFoundException: libclntsh.so.10.1
in <0x0004a> (wrapper managed-to-native) OciNativeCalls:OCIEnvCreate (intptr&,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr)
in <0x0001f> System.Data.OracleClient.Oci.OciCalls:OCIEnvCreate (intptr&,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr)
in <0x0003c> System.Data.OracleClient.Oci.OciEnvironmentHandle:.ctor     (System.Data.OracleClient.Oci.OciEnvironmentMode)
in <0x00037> System.Data.OracleClient.Oci.OciGlue:CreateConnection (System.Data.OracleClient.OracleConnectionInfo)
in <0x00028> System.Data.OracleClient.OracleConnection:Open ()
in <0x00038> (wrapper remoting-invoke-with-check) System.Data.OracleClient.OracleConnection:Open ()
in <0x0007d> Oracle.WebForm1:Button1_Click (object,System.EventArgs)
in <0x00045> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00069> System.Web.UI.WebControls.Button:OnClick (System.EventArgs)
in <0x00040> System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (string)
in <0x00016> System.Web.UI.Page:RaisePostBackEvent (System.Web.UI.IPostBackEventHandler,string)
in <0x00033> System.Web.UI.Page:RaisePostBackEvents ()
in <0x00238>     System.Web.UI.Page:InternalProcessRequest ()
in <0x000a9> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x00233> ExecuteHandlerState:Execute ()
in <0x0007c> StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool&)


       
---------------------------------
 All new Yahoo! Mail - 
---------------------------------
Get a sneak peak at messages with a handy reading pane.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070712/26f39cda/attachment.html 


More information about the Mono-devel-list mailing list