|
The perl Makefile.PL was created successfully
perl Makefile.PL
Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
Configuring DBD::Oracle for perl 5.008008 on linux (x86_64-linux-thread-multi)
I get warnings in the make but everything gets created ok
I get the following errors during make test
[root@cvlnxsybdq01 DBD-Oracle-1.24]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base................# Test loading DBI, DBD::Oracle and version
t/01base................NOK 4
# Failed test 'install_driver'
# in t/01base.t at line 22.
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load '/junk/DBD-Oracle-1.24/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: /usr/lib/oracle/10.2.0.4/client64/lib/libocci.so.10.1: cannot restore segment prot after reloc: Permission denied at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at (eval 7) line 3
Compilation failed in require at (eval 7) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/01base.t line 19
The remaining tests will probably also fail with the same error.
I have searched online and read all of the README's with no luck!
I am able to run remote db with sqlplus and have set the following env variables:
LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client64/lib:
ORACLE_HOME=/usr/lib/oracle/10.2.0.4/client64
TNS_ADMIN=/usr/lib/oracle/10.2.0.4/client64/lib
and have the oracle bin directory in the path
|