Hello everyone. I am just signed up to this list cause we have a problem with
DBI and the DBD:Oracle package. At this company, the admins, DBA's and us
programmers are all in separate groups, so it is hard to get things done. I
finally broke them down to install perl and a bunch of modules. I did not
oversee the installations, and now there is a problem. I am just trying to do a
simple program to see if they have the DBI/DBD stuff installed correctly with
the following:
#!/usr/local/bin/perl
use DBI;
my $dbh1 = DBI->connect("dbi:Oracle:nssdev8","","")
or die "Cant connect to db: $DBI::errstr\n";
exit;
And this is the error I get:
$ ./dbtest2.pl
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage:
/usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
install_driver(Oracle) failed: Can't load
'/opt/perl5/lib/site_perl/5.6.1/PA-RISC1.1/auto/DBD/Oracle/Oracle.sl' for module
DBD::Oracle: Exec format error at /opt/perl5/lib/5.6.1/PA-RISC1.1/DynaLoader.pm
line 206.
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 ./dbtest2.pl line 5
Anyone have any insights as to what to do to fix this? They admin says that the
installation happened fine, but i suspect there might be warnings or some module
he did not install. Any help would be greatly appreciated.
Thanks in advance,
Chris
--
-------------------------------
Just Your Friendly Neighborhood
_SPIDEY_