Why do I get error "ld: cannot open -lesoobclient: No such file or directory" when attempting to link an application with the ODBC-ODBC Bridge?

You need to tell the dynamic linker where to find the libesoobclient shared object. (There are some other required shared objects in installation_dir/easysoft/lib too.)

On Linux and UNIX platforms, the installation script doesn't add entries to /etc/ld.so.conf if you weren't the root user when installing the ODBC-ODBC Bridge or you chose the client-only installation option. You need to add paths to all ODBC-ODBC Bridge shared objects to /etc/ld.so.conf and rerun ldconfig (usually in /sbin). For example, for the default installation location, as root, add:

/usr/local/easysoft/lib
/usr/local/easysoft/oob/client

to /etc/ld.so.conf and then run /sbin/ldconfig -v. This example output confirms the paths were added:

/usr/local/easysoft/lib:
libesrpc.so => libesrpc.so
libsupport.so => libsupport.so
/usr/local/easysoft/oob/client:
libesoobclient.so => libesoobclient.so

On UNIX platforms that don't have an equivalent of /etc/ld.so.conf, add the paths to LD_RUN_PATH, LD_LIBRARY_PATH, SHLIB_PATH, or LIBPATH. For example:

$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/easysoft/lib:/usr/local/easysoft/oob/client
$ export LD_LIBRARY_PATH

An alternative, although not one that we particularly recommend, is to move the shared objects to a directory that is on your linker's default search path. For example, /usr/lib.

If you installed the unixODBC Driver Manager included with the ODBC-ODBC Bridge, add this path as well: /usr/local/easysoft/unixODBC/lib.