You need to set the following environment variables that apply to all activities that take place in Server Enterprise Edition:
If you want to do any database access from within Server Enterprise Edition you need to add the necessary libraries to the PATH environment variable and to the LIBPATH, SHLIB_PATH or LD_LIBRARY_PATH environment variables, depending on your UNIX system. For full information about setting the environment up for database access see the documentation supplied by your database vendor.