Compilation Error: Error opening DB driver


Sample error text:

Error opening DB driver: /usr/hydra.hp/lib/moddbdefault.sl
can’t open the module
Querix Application Error
No Database driver loaded or no Database specified.

Errors such as this occur because the database interface cannot find one or more of its dependencies. The cause will depend on the database you are trying to work with.

For Oracle, ensure that the environment variable $LD_LIBRARY_PATH contains the directory $ORACLE_HOME/lib (or in some cases $ORACLE_HOME/lib32). If you are using HP-UX, you may also need to ensure that the environment variable LD_PRELOAD is set to “libclntsh.sl.9.0” for PA-RISC systems, and “libclntsh.so.9.0” for Itanium systems.