Oracle
Building with Oracle Database Instant Client
It is generally necessary to put the instant client directory (which holds the shared libraries) in your LD_LIBRARY_PATH or equivelent *before* running configure. Use the --with-oci-lib and --with-oci-include options to specifically indicate the include and library directories. Often something like:
./configure
--with-oci-include=/home/warmerda/pkg/oracle_instantclient_11_2/sdk/include \
--with-oci-lib=/home/warmerda/pkg/oracle_instantclient_11_2
On Linux, if you are using the Instant Client and './configure' can not locate Oracle headers and libraries and throws in config.log a message saying:
/usr/bin/ld: cannot find -lclntsh
Then check if there is symbolic link with name libclntsh.so in /lib pointing to binary with name like 'libclntsh.so.X.Y'. If it isn't there, create it using similar command to this:
$ ln -s /opt/instantclient_11_2/libclntsh.so.11.1 /opt/instantclient_11_2/libclntsh.so
Open Tickets
没有结果