The EnterpriseDB Open Client Library allows applications written using the Oracle Call Interface API to connect to and access an EnterpriseDB database with minimal changes to the C source code. The EnterpriseDB Open Client Library files are named:The files are installed in the oci/lib subdirectory.The following example compiles and links the sample program edb_demo.c in a Linux environment. The edb_demo.c is located in the oci/samples subdirectory.
1. Set the ORACLE_HOME and EDB_HOME environment variables.Set ORACLE_HOME to the complete pathname of the Oracle home directory.Set EDB_HOME to the complete pathname of the home directory.
2. Set LD_LIBRARY_PATH to the complete path of libpthread.so. By default, libpthread.so is located in /lib64.
3. Set LD_LIBRARY_PATH to include the Advanced Server Open Client library. By default, libiconv.so.2 is located in $EDB_HOME/oci/lib.