cann't load libdboraodbc
The driver should be loaded from LD_LIBRARY_PATH - have you sourced the SQL Anywhere environment first? This should include the
lib64 directory, depending on which bitness you're using of the MobiLink server - make sure to match bitnesses for the version of the MobiLink server to the library you're trying to load (e.g. 32-bit for 32-bit and 64-bit for 64-bit).
Once the "SQL Anywhere 16 - Oracle" driver is loaded (libdboraodbc16_r.so), it will then attempt to dynamically load the library
libclntsh.so from the LD_LIBRARY_PATH environment variable - note that this library is provided by Oracle and is not provided by SAP. To obtain this library from Oracle, you will need to have a version of the Oracle OCI libraries (e.g. the 'Instant Client') available on the machine (found here for Linux). Again, make sure the bitness of the Oracle Instant Client library matches the bitness of the MobiLink server. Once the Oracle Instant Client libraries are available (be sure to also include the Instant Client library on
LD_LIBRARY_PATH) you will need to create a sybolic link from the specific version of the Instant Client library you have installed to the more generic
libclntsh.so. i.e. You will have to create one of the following links in the Oracle Instant Client directory:
ln -s libclntsh.so.10.1 libclntsh.so
ln -s libclntsh.so.11.1 libclntsh.so
ln -s libclntsh.so.12.1 libclntsh.so
From there, everything else is loaded from
TNS_ADMIN (for finding
tnsnames.ora) as part of the Oracle libraries. i.e.
$ export ORACLE_HOME
$ export TNS_ADMIN
09 Jun '14, 10:55