Oh Wisest among the Wise,
I humbly apologize for my ignorance, as I am trying to reproduce a connection to an Oracle Data Base from a working one in another machine and I am getting the next compilation error:
Can't load '/soft/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.11.1: cannot open shared object file: No such file or directory at /soft/perl-5.10.1/lib/5.10.1/x86_64-linux-thread-multi/DynaLoader.pm line 200. at /users/rum00/exploit/script/rum_verify_database_connection.pl line 19
I have added a debug line before the line 200 in DynaLoader.pm line 200.
print "========> $file\n"; my $libref = dl_load_file($file, $module->dl_load_flags) or croak("Can't load '$file' for module $module: ".dl_error());
Obtained:
========> /soft/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux-thread-multi/auto/DBI/DBI.so
========> /soft/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so
Then I checked these files and their permissions, Obtaining:
____________________________
$ ls -ltr /soft/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux-thread-multi/auto/DBI | grep DBI.so
> -r-xr-xr-x 1 root sys 150632 Jan 24 2013 DBI.so
$ ls -ltr /soft/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux-thread-multi/auto/DBD/Oracle | grep Oracle.so
> -r-xr-xr-x 1 root sys 296365 Apr 30 2013 Oracle.so
____________________________
So the modules do exist, in the expected place, they do have the right permissions... what could be happening that they can't be loaded?
Thank you in advance, Ramen
In reply to Can't load '/soft/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' by luxAeterna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |