1. add an entry similar to this to /etc/ld.so.conf /path/to/oracle/home 2. run 'ldconfig' Note: 1 & 2 should solve your .so error. 3. this is what we did in each perl script that accessed Oracle: #!/usr/bin/perl -w BEGIN { $ENV{ORACLE_HOME} = "/path/to/oracle/home"; } ### the rest of your script goes here ###