The ddtestlib Tool
The second step in preparing to use a driver is to test load it. 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:
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. See "Version String Information" for details about version strings.
The next step is to configure a data source through the system information file.