The real problem here is we don't have root on this machine.

That said, I am trying to install DBI and DBD::Oracle in my home
directory. Unfortunately, there is a dysfunctional, older version of DBI
already installed in the more usual places fouling things up.

When I execute:

 #!/usr/bin/perl
 use lib '/opt/customer/home/GLNadmin/perllibs';    # DBI here
 use DBI;

I get:

 DBI object version 1.13 does not match $DBI::VERSION 1.18 at
 /opt/perl/lib/5.00503/sun4-solaris/DynaLoader.pm line 188.

I know this is because DynaLoader is finding the older DBI.so rather
than my new one which I want it to find. How do I specify an unorthodox
place such as ~/perllibs to search for .so's before the usual locations?
'use lib' and $LD_LIBRARY_PATH do not appear to make a difference.

Any help much appreciated.
-Andrew Hawkes

Reply via email to