Skip Menu |

This queue is for tickets about the Devel-CheckLib CPAN distribution.

Report information
The Basics
Id: 32167
Status: resolved
Priority: 0/
Queue: Devel-CheckLib

People
Owner: Nobody in particular
Requestors: wonko [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.3
Fixed in: (no value)



Subject: Can't use to check libperl (or libmysqlclient)
I can't use to check for libperl.so. On FedoraCore6, but most RH systems put libperl.so in the same place: [mpeters@localhost krang_trunk]$ locate libperl.so /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so [mpeters@localhost krang_trunk]$ perl -MDevel::CheckLib -e 'Devel::CheckLib::assert_lib(lib => "perl")' Can't build and link to 'perl' $Config{archlib} doesn't seem to be in /etc/ld.so.conf so that may be part of it. However, I can't get this to work either: [mpeters@localhost krang_trunk]$ perl -MDevel::CheckLib -e 'Devel::CheckLib::assert_lib(lib => "mysqlclient")' Can't build and link to 'mysqlclient' And libmysqlclient.so is located at /usr/lib/mysql/libmysqlclient.so. And /etc/ld.so.conf.d/mysql-i386.conf does have /usr/lib/mysql in it. Just to make sure my system isn't broken, I can do [mpeters@localhost krang_trunk]$ perl -MDevel::CheckLib -e 'Devel::CheckLib::assert_lib(lib => "gd")'
Fixed in CVS, which lets you specify lib directories. Please note that the current release of Devel::CheckLib is *not* recommended for real-world use, it was uploaded to the CPAN more as a convenient way to get it to people who could comment on it. CVS repo is here: http://drhyde.cvs.sourceforge.net/drhyde/perlmodules/Devel-CheckLib/