Perl Monk, Perl Meditation | |
PerlMonks |
DBD::Oracle installs under root onlyby ojha (Initiate) |
on Oct 14, 2018 at 08:26 UTC ( [id://1223994]=perlquestion: print w/replies, xml ) | Need Help?? |
ojha has asked for the wisdom of the Perl Monks concerning the following question: I am installing DBD::Oracle. After compiling and installing only root user is able to use it. For all other user I am getting install_driver(Oracle) failed: Can't locate Oracle.pm in @INC Red Hat Enterprise Linux Server release 7.5 (Maipo) Oracle client 11gR2 which perl /usr/bin/perl perl -v This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi (with 33 registered patches, see perl -V for more detail) Copyright 1987-2012, Larry Wall perl -V output from root Built under linux Compiled at Mar 2 2017 08:50:35 %ENV: PERL5LIB="/root/perl5/lib/perl5:" PERL_LOCAL_LIB_ROOT=":/root/perl5" PERL_MB_OPT="--install_base /root/perl5" PERL_MM_OPT="INSTALL_BASE=/root/perl5" @INC: /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 For all all other users Built under linux Compiled at Mar 2 2017 08:50:35 @INC: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5
Back to
Seekers of Perl Wisdom
|
|