Click here to get back home

SOLVED - DBD::mysql on AIX - Member libz.so.1 is not found in archive

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
SOLVED - DBD::mysql on AIX - Member libz.so.1 is not found in archive David Filmer 11-02-2004
Posted by David Filmer on November 2, 2004, 11:10 am
Please log in for more thread options
Hello. I encountered problems building DBD::mysql on AIX 5.1. I solved
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
'/dsk2/download/perl/DBD-mysql-2.9005_3/blib/arch/auto/DBD/mysql/mysql.so'
for module DBD::mysql: 0509-022 Cannot load module
/opt/freeware/lib/mysql/libmysqlclient.a(libmysqlclient.so.10).
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
without incident.

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.

Cheers!


Similar ThreadsPosted
A New Article Site Invites You to become a Member Writer! July 7, 2008, 4:12 am
SOLVED: Curses::Widgets Runtime Error October 13, 2007, 3:01 pm
SOLVED: Running MCPAN behind an authenticating proxy server (kludge) November 23, 2004, 1:05 pm
[RESOLVED] DBD::mysql unresolved symbol _intel_fast_memcpy & mysql-standard-5.0.22-linux-i686-icc-glibc23 August 29, 2006, 6:33 pm
Net::SCP - bug found, where to send? October 7, 2004, 12:09 pm
Why is nothing found in @INC path ?!?! April 21, 2006, 2:39 pm
library not found in openssl May 21, 2006, 12:59 am
mod_perl.so not found by Apache (win32) February 4, 2007, 5:21 pm
MySQL 5.0 and Perl DBD-MySQL December 3, 2005, 1:10 am
Embedded mysql with DBD::mysql July 30, 2008, 10:15 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap