Easysoft ODBC-ODBC Bridge

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

Last Reviewed:
8th January 2024

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

For Linux:

In the beta releases, the installation script does not add entries to the /etc/ld.so.conf file if the installing user is NOT root or if only the client is installed. You need to add the paths to all the shared objects in the Easysoft ODBC-ODBC Bridge installation to /etc/ld.so.conf and rerun ldconfig (usually in /sbin). E.g. if you installed ODBC-ODBC Bridge in the default location, you would add:


to /etc/ld.so.conf and then run /sbin/ldconfig. To be sure they are picked up properly, you can use /sbin/ldconfig -v where part of the output for the default installation path would be:

libesrpc.so => libesrpc.so
libsupport.so => libsupport.so
libesoobclient.so => libesoobclient.so

Note that you must be root to run ldconfig and, probably, to edit /etc/ld.so.conf.

For other UNIX platforms:

Read the above for Linux first. However, most platforms do not have an equivalent of the /etc/ld.so.conf file and that usually means you have to add the paths to the LD_RUN_PATH, LD_LIBRARY_PATH, SHLIB_PATH or LIBPATH environment variables and then export them. e.g.

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

An alternative, although not one that Easysoft particularly recommends, is that you move the shared objects to a directory that is on your linker's default search path (e.g. /usr/lib).

If you installed the unixODBC Driver Manager in the ODBC-ODBC Bridge distribution, you will want to add the path /usr/local/easysoft/unixODBC/lib to the above.

Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)