OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001493 [pm_dbdoracle] regular use major always 2006-02-21 08:32 2010-02-03 11:20
Reporter amaier View Status public  
Assigned To fosterm
Priority normal Resolution no change required  
Status closed  
Summary 0001493: 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;
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0003330)
james (reporter)
2006-03-20 06:58
edited on: 2006-03-20 07:00

Doesn\'t libclntsh.so come with Oracle? (Sorry for my uninformed question!) So don\'t you have to install Oracle, then set LD_LIBRARY_PATH?


edited on: 03-20 07:00
(0003336)
amaier (reporter)
2006-03-20 10:40

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.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker