Hi,

Thanks for the response!

> Well, I really can't tell what your problem is; many people use apache
> 1.3.9 and mod_perl 1.21 with dynamic linking on BSDI 4.0.1.  However,
> I must admit this whole area is a bit of a black art to me.  Two
> questions:
> 
> 1) Was libperl.so installed correctly when you made mod_perl 1.21?
>    For us, that location is /usr/local/apache/libexec.

I'm not able to make mod_perl. I unpacked mod_perl 1.21, apache_1.3.9
and ran:

        perl Makefile.PL \
             APACHE_PREFIX=/usr/local/apache_perl \
             APACHE_SRC=../apache_1.3.9/src \
             DO_HTTPD=1 \
             USE_APACI=1 \
             EVERYTHING=1 \
             APACI_ARGS='list of args'

which completed ok. Running make then returned the error:

        /gen_test_char >test_char.h
        ./gen_test_char: can't load library 'libperl.so'
        *** Error code 16
 
> 2) For debugging, did you try adding the normal perl dynamic library
>    location to /etc/ld.so.config and do a ldconfig?   Something like
>    a line:
> 
> /usr/libdata/perl5/i386-bsdos/5.00402/CORE
> 
> I believe the error message you mentioned will be generated when any
> function in libperl.so or any function *referenced* by a function in
> libperl.so fails to load.

I added this and it worked perfectly! Do I need to keep this in, or
should I expect any suprises with mod_perl later? =)

Thanks!

Alex

Reply via email to