The ddtestlib Tool

The ddtestlib tool is provided to test load drivers and help diagnose configuration problems in the UNIX and Linux environments, such as environment variables not correctly set or missing database client components. This tool is installed in the bin subdirectory in the product installation directory. It attempts to load a specified ODBC driver and prints out all available error information if the load fails.

For example, if drivers are installed in /opt/odbc/lib, the following command attempts to load the Oracle Wire Protocol driver:

ddtestlib /opt/odbc/lib/ddora23.so 

NOTE: On Solaris, AIX, and Linux, the full path to the driver does not have to be specified for ddtestlib. The HP-UX version of ddtestlib, however, requires the full path.

If the load is successful, ddtestlib returns a success message along with the version string of the driver. If the driver cannot be loaded, ddtestlib returns an error message explaining why. Refer to "Version String Information" in "Using The Product" of the DataDirect Connect64 for ODBC and Connect64 XE for ODBC User's Guide for details about version strings.