Compilation Error: Error opening DB driver.

While compiling my application this error occured.
Error opening DB
driver: /usr/hydra.hp/lib/
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 “” for PA-RISC systems, and “” for Itanium systems.