Compilation Error: Error opening DB driver.

While compiling my application this error occured.
Example:
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.

Why am I getting this compilation error and what should I do to fix this problem?

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.

  • OracleEnsure 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.

Click the link below to see
all KB articles by product.