skip to main content
Troubleshooting the OpenAccess SDK Clients : Troubleshooting the ODBC Client : ODBC Tracing : The ivtestlib Tool
 

The ivtestlib Tool

The ivtestlib tool, located in the installdir/tools directory, is provided to help diagnose configuration problems in the Linux and UNIX environments (such as environment variables not correctly set). It attempts to load the ODBC driver shared library and prints out all available error information if the load fails.
Note: If using the 64-bit ODBC driver, use the ddtestlib tool, which is comparable to the invtestlib tool, to diagnose configuration problems in UNIX and Linux environments.
On Oracle Solaris, for example, if the ODBC Client is installed in /usr/oaodbc810, the following command attempts to load the ODBC driver shared library:
ivtestlib /usr/oaodbc810/lib/ivoa27.so
If the ODBC driver shared library cannot be loaded, ivtestlib returns an error message explaining why.
Note: On Solaris, AIX, and Linux, the full path to the ODBC driver shared library does not have to be specified for ivtestlib. The HP-UX version of ivtestlib requires the full path.
If the load is successful, ivtestlib returns a success message along with the version string of the Client. If the Client cannot be loaded, ivtestlib returns an error message explaining why.