I am trying to set up DBI Oracle stuff on a couple of boxes.  One is
Ubuntu Feiesty and the other is running SunOS 5.8.

I have been using the following test script.

#!/usr/bin/perl
use DBI;
$dbh = DBI->connect( "dbi:Oracle:gen3", "user", "pass" );


Linux
-------
I get:
install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC
(@INC contains: /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
(eval 3) line 3.
Perhaps the DBD::Oracle perl module hasn't been fully installed,
or perhaps the capitalisation of 'Oracle' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge.
at ./db.pl line 5

SunOS
----------
I get:
install_driver(Oracle) failed: Can't load
'/opt/local/perl/5.6.1/lib/site_perl/5.6.1/sun4-solaris/auto/DBD/Oracle/Oracle.so'
for module DBD::Oracle: ld.so.1: db.pl: fatal: libclntsh.so.8.0: open
failed: No such file or directory at
/opt/local/perl/5.6.1/lib/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at ./db.pl line 5

Which I guess are both similar errors.  Anyone know what the modules I
need and how to add them.  I am a perl newbee.

Regards,
Ben
--
Ben Edwards - Bristol, UK
If you have a problem emailing me use
http://www.gurtlush.org.uk/profiles.php?uid=4
(email address this email is sent from may be defunct)

Reply via email to