/
Can't connect to a database (error -994)

Can't connect to a database (error -994)


Error -994
Error opening DB driver: <path to the library> /./lib/moddboracle.so

If you get the following error with Hydra on Linux OS, Oracle, create a symbolic Link:

cd /u01/app/oracle/product/11.1.0/client_1/lib

Go to the location where Oracle libraries would have been. You can also use ORACLE_HOME\lib instead if ORACLE_HOME environmental variable is set.
You can check whether it is set using Create Symbolic Link:

ln -s libclntsh.so.10.1 libclntsh.so


The version numbers may differ.

The error -994 can also occur if your application works with an Informix database and was compiled and deployed by Lycia Studio, but you run it directly from a client (Phoenix or Chimera), via a secure port.
In this case, there are two ways to solve the problem.

  • Open the inet.env file and add the following line to it: LYCIA_DB_DRIVER = Informix
    Save the changes and try again to run the application.
  • Run your Phoenix or Chimera client using the line: your_app_name  -d informix (in your ‘Application file name’ field)

Related articles

Related content

Runtime/Compiler errors
Runtime/Compiler errors
More like this
Can’t launch a Lycia app: error code (-994)
Can’t launch a Lycia app: error code (-994)
More like this
Hydra license error -998
Hydra license error -998
More like this
Linux. Oracle. Connection failed Error: -999
Linux. Oracle. Connection failed Error: -999
More like this
Compilation Error: Error opening DB driver
Compilation Error: Error opening DB driver
More like this
Informix for Hydra
Informix for Hydra
More like this