HELP! DBD::mysql on solaris
I'm running opensolaris and am trying to get DBD::mysql to work. I have installed, the pm_dbdmysql package and tried to install DBD through CPAN. CPAN won't install because it fails the tests...
When I try to use DBD::mysql; , it give this error:
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /opt/csw/lib/perl/csw/DBD /usr/perl5/5.8.4/lib/i86pc-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at (eval 3) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Pg, Proxy, Sponge.
at dbTest.pl line 22
If I say:
use lib '/opt/csw/lib/perl/csw';
it says:
ld.so.1: perl: fatal: relocation error: file /opt/csw/lib/perl/csw/auto/DBI/DBI.so: symbol Perl_Tstack_sp_ptr: referenced symbol not found
Killed
I'm really confused and would appreciate any help. Thanks!
Subject
Written By
Posted
HELP! DBD::mysql on solaris
March 07, 2008 12:38PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.