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
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
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
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