William McKee wrote:

On Thu, Sep 02, 2004 at 08:51:15PM -0700, Ben Hopkins wrote:


Nope. There are two copies of libperl.so: one in the apache source tree, and one in libexec.

BUT that link said to use ldd to see what libperl.so is referenced in the httpd executable. I did that and found NO reference to libperl.so!



Hmm, that sounds bad. I wonder if having two copies is somehow throwing
off the compilation. Unfortunately, this is outside of my experience, and
it appears Stas is unavailable. I'd suggest digging through the archives
searching for posts regarding libperl.so. It comes up every now and then
and usu. takes a few postings to get it figured out.



Here's another clue: the error log has sporadic series of lines like this:

Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.

Sometimes there is just two, sometimes as many as 8 (as above), or up to 20. They are not coincidental with my testing the mod_perl (that doesn't work), but I remember not seeing those in the log until after I initially installed mod_perl (over a year ago). So, I am still at a loss to fix this.

Last night, I downloaded apache 1.3.31, maked it and installed it as described in the OP, stopped the server, started it. STILL NO MOD_PERL IS RUNNING, so I'm still digging.

Here is what ldd says about both httpd and libperl.so:

[EMAIL PROTECTED] apache]$ ldd bin/httpd
       libm.so.6 => /lib/i686/libm.so.6 (0x4001f000)
       libcrypt.so.1 => /lib/libcrypt.so.1 (0x40042000)
       libdb.so.2 => /usr/lib/libdb.so.2 (0x4006f000)
       libnsl.so.1 => /lib/libnsl.so.1 (0x4007d000)
       libdl.so.2 => /lib/libdl.so.2 (0x40093000)
       libc.so.6 => /lib/i686/libc.so.6 (0x40097000)
       libutil.so.1 => /lib/libutil.so.1 (0x401d2000)
       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[EMAIL PROTECTED] apache]$ ldd libexec/libperl.so
       libnsl.so.1 => /lib/libnsl.so.1 (0x40120000)
       libdl.so.2 => /lib/libdl.so.2 (0x40136000)
       libm.so.6 => /lib/i686/libm.so.6 (0x4013a000)
       libc.so.6 => /lib/i686/libc.so.6 (0x4015d000)
       libcrypt.so.1 => /lib/libcrypt.so.1 (0x40298000)
       libutil.so.1 => /lib/libutil.so.1 (0x402c5000)
       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Shouldn't there be a mention of perl in there somewhere?   Look:

[EMAIL PROTECTED] apache]$ ldd bin/httpd | grep perl
[EMAIL PROTECTED] apache]$ ldd libexec/libperl.so | grep perl
[EMAIL PROTECTED] apache]$

If nothing comes to me tonight, I'm going to back out all the modules I put in (proxy (which I put back in last night because taking it out didn't do any good), rewrite, speling) and see if that helps.

--
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