I've inherited a script that uses DBI to talk to Oracle. Currently, it works fine but only if in I first export ORACLE_HOME and LD_LIBRARY_PATH in my shell. Otherwise I get this:
I tried assigning $ENV{'ORACLE_HOME'} and $ENV{'LD_LIBRARY_PATH'} in the script; and after that I can
, but I still get the error.
I tried assigning them and then forking off a child to connect, and still get the error.