Re:Re: [Mono-dev] my web page cann't access oracle.

2006-03-08 Thread T Senganal
Hi My env, /home/oracle/.bash_profile and /usr/local/etc/mono/config as follows: my oracle was installed under /home/oracle/OraHome_1 i had add user apache into group root, oinstall, dba and apache but I still got the same error information the config file is fine .. DllImport checks for

Re: [Mono-dev] my web page cann't access oracle.

2006-03-08 Thread Daniel Morgan
What is the shared library name for OCI on your system? It would something like libclntsh.so Oracle 10g may have something like libclntsh.so.10.0 or something. If you do have something like libclntsh.so.10.0, you can modify target in the dllmap of the etc/mono/config file. dllmap

[Mono-dev] my web page cann't access oracle.

2006-03-07 Thread zhulijun
My error message as follows: System.DllNotFoundException: clntsh in (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

Re: [Mono-dev] my web page cann't access oracle.

2006-03-07 Thread Daniel Morgan
System.Data.OracleClient uses OCI library. On Linux, this would be something like libclntsh.soIt may even have a version number in the shared library name, for example, libclntsh.so.10.0You need to make sure this library can be found in your PATH. (or LD_LIBRARY_PATH). Basically, its