Connect to a database fails (error -994).

If you get the following error on Hydra lnx, Oracle:
Error -994
Error opening DB driver: <path to the library> /./lib/
You have to create a Symbolic Link using the following steps as root:
$ 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
The version numbers can 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 secure port.
In this case, there are two ways to solve the problem.

  1. Open the inet.env file and add the following line to it:

Save the changes and try again to run the application:

  1. Run your Phoenix or Chimera client using the line

your_app_name  -d informix
in your ‘Application file name’ field.