Why do I get error "Can't open shared library" or "cannot open shared object file" when running tdshelper?

tdshelper is a diagnostic program supplied with the Easysoft SQL Server ODBC driver that lets you test the connection to a SQL Server instance.

tdshelper is dependent on shared objects in install_dir/easysoft/lib, where install_dir is the Easysoft installation directory, by default, /usr/local. If you get "Can't open shared library" or "cannot open shared object file" errors when trying to run tdshelper, you need to tell the dynamic linker where to find the shared objects that tdshelper depends on. To do this, set and export the appropriate environment variable for your linker and platform:

Variable Platform
SHLIB_PATH Some versions of HP-UX. For example:
SHLIB_PATH=$SHLIB_PATH:/usr/local/easysoft/lib
export SHLIB_PATH
LD_LIBRARY_PATH Linux, Solaris, some versions of HP-UX. For example:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/easysoft/lib
export LD_LIBRARY_PATH
LIBPATH AIX. For example:
LIBPATH=$LIBPATH:/usr/local/easysoft/lib
export LIBPATH