Matisse Enzer wrote:
All OK now.

I'm sure /usr/local/apache2/lib/libapr-0.so.0.9.3 came from my manual install of httpd-2.0.45

I've investigated and when I built httpd-2.0.47 I built it with a prefix of /usr/local/apache2, where an existing 2.0.45 installation exists. I actually installed 2.0.47 in /usr/local/apache2.0.47 but the binary was built probably looking at the old libs.

Aha, so it's your fault ;)


FYI, /etc/ld.so.conf doesn't have /usr/local/apache{anything}

OK


After rebuilding httpd-2.0.47 with --prefix=/usr/local/apache2.0.47

I get:

ldd /usr/local/apache2.0.47/bin/httpd
libssl.so.2 => /lib/libssl.so.2 (0x40030000)
libcrypto.so.2 => /lib/libcrypto.so.2 (0x40061000)
libaprutil-0.so.0 => /usr/local/apache2.0.47/lib/libaprutil-0.so.0 (0x40135000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40149000)
libdb-4.0.so => /lib/libdb-4.0.so (0x40150000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x401f8000)
libapr-0.so.0 => /usr/local/apache2.0.47/lib/libapr-0.so.0 (0x40218000)
librt.so.1 => /lib/librt.so.1 (0x40235000)
libm.so.6 => /lib/i686/libm.so.6 (0x40247000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40269000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40296000)
libdl.so.2 => /lib/libdl.so.2 (0x402ac000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x402af000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


and then building and testing mod_perl-1.99_10 works fine.

Thank you once again for excellent help!

Very nice ;)


As mp2 now depends on several libraries I think we are going to have this question asked more than once. Mattisse, would you like to write a short troubleshooting section based on your questions and my answers? So we can add it to the docs and point others to it. It's the best that you peruse this thread's data (including the relevant chunks of output that you have posted in your replies).

Also I have failed to post your complete reply that didn't make it to the list, oversnipping it. the missing part was:

[EMAIL PROTECTED] bin]# ldd /usr/local/apache2.0.47/bin/httpd
libssl.so.2 => /lib/libssl.so.2 (0x40030000)
libcrypto.so.2 => /lib/libcrypto.so.2 (0x40061000)
libaprutil-0.so.0 => /usr/local/apache2/lib/libaprutil-0.so.0 (0x40135000)
libapr-0.so.0 => /usr/local/apache2/lib/libapr-0.so.0 (0x40218000)
...


So that output was more clearly showing the problem -- httpd was linked against the wrong libs.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to