[Mono-aspnet-list] DLL not found
Gonzalo Paniagua Javier
gonzalo.mono at gmail.com
Mon Jul 19 12:51:01 EDT 2010
On Mon, 2010-07-19 at 04:22 -0700, stellaga wrote:
> 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
You need to add those the path to Oracle libraries to /etc/ld.so.conf or
LD_LIBRARY_PATH so that mod-mono-server/xsp can find them.
-Gonzalo
More information about the Mono-aspnet-list
mailing list