Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- David Filmer
November 2, 2004, 4:10 pm
rate this thread
the problem and post my experience here for the possible benefit of
others who may Google this newsgroup.
"make test" failed with dozens of messages similar to this:
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........install_driver(mysql) failed: Can't load
for module DBD::mysql: 0509-022 Cannot load module
0509-150 Dependent module /usr/local/lib/libz.a(libz.so.1)
could not be loaded.
0509-152 Member libz.so.1 is not found in archive
0509-022 Cannot load module /usr/local/lib/libz.a.
0509-150 Dependent module /usr/local/lib/libz.a could not be
loaded. at /usr/local/lib/perl5/5.8.5/aix/DynaLoader.pm line 230.
The problem was related to the libz library. I'm not sure where I got
/usr/local/lib/libz.a but it was causing problems. I had previously
installed an IBM RPM of libz (libz.a) which resided in
/opt/freeware/lib (per the usual IBM RPM conventions).
When I renamed the version of libz.a in /usr/local/lib to something
else (libz.a.bak) then I was able to build/test/install DBD::mysql
I have NO IDEA what the actual problem was with /usr/local/lib or how
it came about (ideas welcome), but this is how I solved the problem.
- » Can't locate object method "new" via package "Net::SMTP"
- — Next thread in » PERL Modules Announcements