[bug-notifications] [pm_dbdoracle 0001493]: library libclntsh.so.10.1 missing
Mantis Bug Tracker
noreply at opencsw.org
Wed Feb 3 11:20:40 CET 2010
The following issue has been UPDATED.
======================================================================
http://www.opencsw.org/mantis/view.php?id=1493
======================================================================
Reported By: amaier
Assigned To: fosterm
======================================================================
Project: pm_dbdoracle
Issue ID: 1493
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 2006-02-21 08:32 CET
Last Modified: 2010-02-03 11:20 CET
======================================================================
Summary: library libclntsh.so.10.1 missing
Description:
$ ./dbtest.pl
install_driver(Oracle) failed: Can\'t load
\'/opt/csw/lib/perl/csw/auto/DBD/Oracle/Oracle.so\' for module DBD::Oracle:
ld.so.1: dbtest.pl: fatal: libclntsh.so.10.1: open failed: No such file or
directory at /opt/csw/lib/perl/5.8.8/DynaLoader.pm line 230.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn\'t installed where expected
at ./dbtest.pl line 4
$ ls -l /opt/csw/lib/perl/csw/auto/DBD/Oracle/Oracle.so
-r-xr-xr-x 1 root bin 173316 Oct 6 2004
/opt/csw/lib/perl/csw/auto/DBD/Oracle/Oracle.so
$ ldd /opt/csw/lib/perl/csw/auto/DBD/Oracle/Oracle.so
libclntsh.so.10.1 => (file not found)
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libkstat.so.1 => /usr/lib/libkstat.so.1
libaio.so.1 => /usr/lib/libaio.so.1
librt.so.1 => /usr/lib/librt.so.1
libm.so.1 => /usr/lib/libm.so.1
libthread.so.1 => /usr/lib/lwp/libthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
$ cat dbtest.pl
#!/opt/csw/bin/perl
use strict;
use DBI;
my $dbh = DBI->connect( \'dbi:Oracle:hostname_db\',
\'test\',
\'test\',
{ RaiseError => 1, AutoCommit => 0 }
) || die \"Database connection not made:
$DBI::errstr\";
$dbh->disconnect;
======================================================================
----------------------------------------------------------------------
(0003336) amaier (reporter) - 2006-03-20 10:40
http://www.opencsw.org/mantis/view.php?id=1493#c3336
----------------------------------------------------------------------
Well, you are right. I was not aware at the moment I opened the bug report
that I have to install an Oracle Client before being able to use this Perl
module.
Please close this bug report.
More information about the bug-notifications
mailing list