[Mono-aspnet-list] DLL not found

stellaga stellaga at unict.it
Mon Jul 19 07:22:13 EDT 2010


Hi everybody,

I've a problem to execute a program with Mono in ASP.NET:
(S.O. Centos 5, mono ver. 2.6.4, Apache)

Server Error in '/' Application
libclntsh.so

Description: HTTP 500. Error processing request.

Stack Trace:

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
<filename unknown>:0 
  at System.Data.OracleClient.Oci.OciEnvironmentHandle..ctor
(OciEnvironmentMode mode) [0x00000] in <filename unknown>:0 
  at System.Data.OracleClient.Oci.OciGlue.CreateConnection
(OracleConnectionInfo conInfo) [0x00000] in <filename unknown>:0 
  at System.Data.OracleClient.OracleConnectionPoolManager.CreateConnection
(OracleConnectionInfo info) [0x00000] in <filename unknown>:0 
  at System.Data.OracleClient.OracleConnectionPool.CreateConnection ()
[0x00000] in <filename unknown>:0 
  at System.Data.OracleClient.OracleConnectionPool.GetConnection ()
[0x00000] in <filename unknown>:0 
  at System.Data.OracleClient.OracleConnection.Open () [0x00000] in
<filename unknown>:0 
  at (wrapper remoting-invoke-with-check)
System.Data.OracleClient.OracleConnection:Open ()
  at ASP.prova_aspx.Page_Load (System.Object sender, System.EventArgs e)
[0x00000] in <filename unknown>:0 
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] in
<filename unknown>:0 
  at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.ProcessLoad () [0x00000] in <filename unknown>:0 
  at System.Web.UI.Page.ProcessPostData () [0x00000] in <filename unknown>:0 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename
unknown>:0 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] in <filename unknown>:0 

Version information: Mono Runtime Version: 2.6.4 (tarball mer giu 23
15:21:51 CEST 2010); ASP.NET Version: 2.0.50727.1433

I've set LD_LIBRARY_PATH and ORACLE_HOME and the command: ldconfig -p |grep
libgdiplus
response:
 libgdiplus.so.0 (libc6) => /usr/local/lib/libgdiplus.so.0
        libgdiplus.so (libc6) => /usr/local/lib/libgdiplus.so
[root at Vcentos conf]# ldconfig -p |grep libclntsh.so
        libclntsh.so.11.1 (libc6) =>
/home/oracle/app/oracle/product/11.2.0/client_1/lib/libclntsh.so.11.1
        libclntsh.so (libc6) =>
/home/oracle/app/oracle/product/11.2.0/client_1/lib/libclntsh.so
        libclntsh.so (libc6) => /usr/lib/libclntsh.so

help me!
Thanks!


-- 
View this message in context: http://mono.1490590.n4.nabble.com/DLL-not-found-tp2293833p2293833.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list