On Wed, Apr 07, 2004 at 12:39:33AM -0700, Stas Bekman wrote:
> William, why do you check a binary, which is not the one that you get 
> the error from? You need to check /usr/local/apache/bin/httpd instead. 
> (of course it could be the same binary, but still...)

Because I thought it was the same one being installed... Will check the
actual location instead.


> Also please show us the output of:
> 
> ldd /usr/local/apache/bin/httpd

# ldd /usr/local/apache/bin/httpd 
        libm.so.6 => /lib/libm.so.6 (0x4001d000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4003f000)
        libperl.so => /usr/lib/libperl.so (0x4006c000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4018f000)
        libdl.so.2 => /lib/libdl.so.2 (0x401a4000)
        libutil.so.1 => /lib/libutil.so.1 (0x401a7000)
        libc.so.6 => /lib/libc.so.6 (0x401aa000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x402dd000)


> and if it links to libperl.so that would be your problem, since your 
> perl is statically linked.

I see the 'useshrplib=false' in the perl -V output. Is this how you know
that my perl is statically linked? So what do I do in this case?
Searching the docs at perl.apache.org, I see that you recommend building
Perl dynamically for the `PL_perl_destruct_level' error. Is this also
your recommendation for this error?

I'm surprised that my Perl didn't get built dynamically since the
INSTALL doc says this is the default if the system supports it. I would
think Linux would be pretty widely supported so guess there must be
other factors involved. Is there more discussion I can read about when
to build statically vs. dynamically? FWIW, here's the command I ran to
compile Perl:

   sh Configure -Dotherlibdirs=/usr/share/perl5/ -des


> Finally show us the commands you used to build apache/mp1.

I used the example you showed in the docs:

    perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src DO_HTTPD=1 USE_APACI=1 
EVERYTHING=1
    make
    make test (fails b/c server cannot start due to PL_nowarn issue)
    make install


Thanks,
William

-- 
Knowmad Services Inc.
http://www.knowmad.com

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