Further search in the excellent modperl guide by Stas Bekman at 

http://perl.apache.org/guide/install.html#Undefined_reference_to_PL_perl_

suggested a clue for this problem:

> This happens when you have Perl built statically linked, with no shared
libperl.a. Build a dynamically linked Perl (with libperl.a) and the problem
will disappear. 

Don't I actually have dynalink support in my perl if perl -V says
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib -L/opt/local/lib'
    libpth=/usr/local/lib /opt/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-Kpic', lddlflags='-G -L/usr/local/lib -L/opt/local/lib'

and also the libperl.a is there:
        /usr/local/lib/perl5/sun4-solaris/5.00404/CORE/libperl.a

And, also, to make it 100% sure, I ensured that
/usr/local/lib/perl5/sun4-solaris/5.00404/CORE/ is on the httpd's
LD_LIBRARY_PATH

:-(

Vassilii

-----Original Message-----
From: Khachaturov, Vassilii 
Sent: Thursday, October 19, 2000 12:29 PM
To: '[EMAIL PROTECTED]'
Subject: installing mod_perl-1.24_01/apache_1.3.14/perl 5.004_04/solaris
5 .6


Hi!
I have been trying to install the <subj> combination for a couple of hours
with no luck. After looking up Ken's archive, I decided to turn to the list
for the help.

I have gone exactly through the steps suggested in the apache readme file:
...
    $ perl Makefile.PL APACHE_SRC=../apache_1.3.14/src \
                       DO_HTTPD=1 USE_APACI=1 \
                       EVERYTHING=1
(this reports no problems or versioning hints, and successfully completes)
    $ make
This fails at httpd build stage, in the following way:

[see 
http://forum.swarthmore.edu/epigone/modperl/brelfrermlal
]

Reply via email to