|Problems? Is your data what you think it is?|
Perl5 and a custom MySQL4 installby solarisfire (Novice)
|on Jan 30, 2013 at 10:58 UTC||Need Help??|
solarisfire has asked for the
wisdom of the Perl Monks concerning the following question:
I'm currently working on a pretty legacy system. Custom MySQL 4.1.22 (compiled from binary because it doesn't exist in repositories any more) installed on top of CentOS 6.3.
I installed perl5 to write a few management scripts to do tasks, have DBI installed from CPAN, but DBD::Mysql did not want to install via CPAN, so I manually grabbed the /lib/ folder from cpan.org and threw the files into /usr/lib64/perl5 myself.
But now I get the following error :(
install_driver(mysql) failed: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a module that DBD::mysql requires hasn't been fully installed at /foo.pl line 30
Line 30 is:
Any help would be greatly appreciated. Do I need to compile DBD::mysql myself pointing at the custom library locations?