Re: getting problem while installing DBD-Oracle-1.19



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

Tushar.Jajoo@xxxxxxxxxxxxxxxxxx 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
.



Relevant Pages

  • Re: Do you use SELinux
    ... For complete SELinux messages. ... is a potential security problem. ... Libraries are sometimes coded incorrectly and request this permission. ...
    (Fedora)
  • Re: util-linux: orphan
    ... if I had been able to remount the root partition, or mount the selinux ... file system, which was made impossible by the fact that I had no ... permission to access one of the libraries for the mount binary. ...
    (Linux-Kernel)
  • Re: Selinux and K9copy
    ... I'm having problems with Selinux. ... text relocation. ... Most libraries do ... - Rick Stevens, ...
    (Fedora)
  • Slackware 8.1 with SELinux
    ... I am trying to build SELinux on Slackware 8.1 distro. ... download the entire source tree for SELinux from www.nsa.gov/selinux ... stoped for 3 different libraries. ...
    (comp.os.linux.security)