On 6/22/2016 2:05 PM, Bruce Johnson wrote:
On Jun 22, 2016, at 1:34 PM, John R Pierce <pie...@hogranch.com <mailto:pie...@hogranch.com>> wrote:

if root installed it to /root, no other user can see or access that.


running cpan as root is fine, since that doesn’t affect the permissions of the final perl executables. The only thing it affects is keeping track of what has been installed via cpan, since the .cpan metadata lives in root’s home directory.

but the OP also said...

perl /stl/bin/test.pl

install_driver(Oracle) failed: Can't load '/root/perl5/lib/perl5/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libstdc++.so.5: cannot open shared object file

which suggests Oracle.so was built under /root/perl5

OTOH, as others suggested, the OP probably needs to 'yum install compat-libstdc++' (for RHEL/centos 6, which I believe is what the OP has)



--
john r pierce, recycling bits in santa cruz

Reply via email to