John Scoles wrote:
We need to know what you are compiling against. Would you please post
the results of your Makefile.PL?? Thie error can happen in a nuymber of
ways
Cheers
John Scoles
It looks like Linux and Oracle 10.2.0 on a 64bit system. The error you
are getting has cropped up in this list before and is related to
SELinux. I believe you can do a "setenforce 0" to disable SELinux until
next boot and that should confirm it but you might want to reboot
afterwards as SELinux will be disabled. Just do a search for "Cannot
restore segment prot after reloc" on google and you'll find loads of
sites that tell you what you need to do. If you want to keep SELinux
enabled you need to run chcon on the directories containing the Oracle
libraries. I'm not an SELinux user myself so I cannot help further but
the information is out there.
Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com
[EMAIL PROTECTED] wrote:
Hi,
When I tried to install DBD-Oracle-1.19 then I m getting below error in
make test step
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base................Failed to load Oracle extension and/or shared
libraries:
install_driver(Oracle) failed: Can't load
'/opt/batman/DBD-Oracle-1.19/blib/arch/auto/DBD/Oracle/Oracle.so' for
module DBD::Oracle: /oracle/oracle/product/10.2.0/db_1/lib/libnnz10.so:
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 3) line 3
Compilation failed in require at (eval 3) 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.
Thanks & Regards
Tushar