Hi,
I get the following error when running a simple perl dbi script:Can anyone help?
install_driver(Oracle) failed: Can't load
'/app/perl5005/lib/site_perl/5.005/sun4-solaris/auto/DBD/Oracle/Oracle.so' for module
DBD::Oracle: ld.so.1: /app/perl5005/bin/perl: fatal: libclntsh.so.1.0: open failed: No
such file or directory at /app/perl5005/lib/5.005/sun4-solaris/DynaLoader.pm line 169.
at (eval 1) line 3
at ./db_example line 5
Script:
#!/app/perl5005/bin/perl
use DBI;
$dbh = DBI -> connect ("DBI:Oracle:DLNKNTA1.WORLD", 'kintana_cm01', 'kintana_cm01');
$db = $dbh -> prepare (" select count(*)
from kcrt_requests")
or die ("DB Prepare failed");
$db -> execute ();
while (@DBCOLS = $db -> fetchrow())
{
print "$DBCOLS[0]\n";
}
$dbh -> disconnect ();
This message is for the named person's use only. It may contain sensitive and private
proprietary or legally privileged information. No confidentiality or privilege is
waived or lost by any mistransmission. If you are not the intended recipient, please
immediately delete it and all copies of it from your system, destroy any hard copies
of it and notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended
recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON
or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve
the right to monitor all e-mail communications through its networks. Any views
expressed in this message are those of the individual sender, except where the message
states otherwise and the sender is authorized to state them to be the views of any
such entity.
Unless otherwise stated, any pricing information given in this message is indicative
only, is subject to change and does not constitute an offer to deal at any price
quoted. Any reference to the terms of executed transactions should be treated as
preliminary only and subject to our formal written confirmation.