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

Mads Bondo Dydensborg mbd at dbc.dk
Wed Jul 11 06:27:54 EDT 2007


onsdag 11 juli 2007 11:35 skrev Tolou Taherinia:
> Hi,
> 
> I have oracle 10gR2 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.   

Are you sure the libclntsh.so file is in the library path of the web server?

Probably you need a link somewhere, or setting the LD_LIBRARY_PATH of the 
webserver process.

Regards,

Mads


>  
> 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 news delivered. Enjoy RSS feeds right on your Mail page.

-- 
Med venlig hilsen/Regards

Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34


More information about the Mono-list mailing list