After upgrading to Stas' latest MP2 stuff a few days ago,
I started seeing the following error on a perl script that's
not running through mp2, which I thought a little odd!

steel1: {12} /data/www/aboc/utils/session_cleanup.pl
Can't load '/usr/local/perl-5.8.5/lib/site_perl/5.8.5/i386-netbsd/auto/APR/APR.so' for module APR: Shared object "libapr-0.so.9" not found at /usr/local/perl-5.8.5/lib/5.8.5/i386-netbsd/DynaLoader.pm line 230.
at /usr/local/perl-5.8.5/lib/site_perl/5.8.5/i386-netbsd/APR/Bucket.pm line 23
Compilation failed in require at /usr/local/perl-5.8.5/lib/site_perl/5.8.5/i386-netbsd/APR/Bucket.pm line 23.
BEGIN failed--compilation aborted at /usr/local/perl-5.8.5/lib/site_perl/5.8.5/i386-netbsd/APR/Bucket.pm line 23.
Compilation failed in require at /data/www/aboc/lib/CB.pm line 378.
BEGIN failed--compilation aborted at /data/www/aboc/lib/CB.pm line 378.
Compilation failed in require at /data/www/aboc/utils/session_cleanup.pl line 7.
BEGIN failed--compilation aborted at /data/www/aboc/utils/session_cleanup.pl line 7.



This is on NetBSD 1.6.2, and libapr-0.so.9 exists :

steel1: {13} locate libapr-0.so.9
/usr/local/apache2/lib/libapr-0.so.9
/usr/local/apache2/lib/libapr-0.so.9.2
/usr/local/apache2/lib/libapr-0.so.9.3
/usr/local/apache2/lib/libapr-0.so.9.4
/usr/local/apache2/lib/libapr-0.so.9.5


The offending line in CB.pm is :

    use APR::Bucket ();

Which is obviously Apache stuff, so it's probably been affected by
something.  I don't understand why it's not seeing the library
though?

I've tried upgrading to a fresh install of perl 5.8.5 (I was
running 5.8.4) and the latest libapreq2 from Joe this morning,
and recompiing & reinstalling apache2 (2.0.50) hoping that
something in one of those installs would fix whatever's not
looking for the library in the right place, but to no avail.

Any suggestions?

thanks!

Carl





--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to