> I get the following link error when I try to make apache_1.3.9 with 
> mod_perl-1.21. Am I missing a library module?

Asghar, when you have problems with mod_perl, please first search the
archives!  There is a big chance that someone else has already asked this
question.  Thank you! 

I did the search for you this time, please do it yourself on the next
occassion when you'll have a problem.

http:[EMAIL PROTECTED]

<QUOTE>
I hate to follow up on my own post but I got my problem fixed.  It
appears that I had my perl built statically linked, with no shared
libperl.a  At least, when I build a dynamically linked perl with a
libperl.a everything now works.....
</QUOTE>

I'll add this to the building troubleshooting section of the guide.

> -Asghar
> 
> 
> This is how I built it:
> cd mod_perl-1.21
> perl Makefile.PL PREP_HTTPD=1
> make
> make test
> make install
> 
> cd ../apache_1.3.9
> ./configure --with-layout=RedHat --target=perlhttpd 
> --activate-module=src/modules/perl/libperl.a
> 
> 
> ....
> ....
> 
> 
> gcc -c  -I./os/unix -I./include   -DLINUX=2 -DTARGET=\"perlhttpd\" -DUSE_HSREGEX 
> -DUSE_EXPAT -I./lib/expat-lite `./apaci` buildmark.c
> gcc  -DLINUX=2 -DTARGET=\"perlhttpd\" -DUSE_HSREGEX -DUSE_EXPAT 
> -I./lib/expat-lite `./apaci`    \
>       -o perlhttpd buildmark.o modules.o modules/perl/libperl.a 
> modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a 
> regex/libregex.a lib/expat-lite/libexpat.a  -lm -lcrypt
> modules/perl/libperl.a(mod_perl.o): In function `perl_shutdown':
> mod_perl.o(.text+0xf8): undefined reference to `PL_perl_destruct_level'
> mod_perl.o(.text+0x102): undefined reference to `PL_perl_destruct_level'
> mod_perl.o(.text+0x10c): undefined reference to `PL_perl_destruct_level'
> mod_perl.o(.text+0x13b): undefined reference to `Perl_av_undef'
> 
> .... MORE ERROR
> 
> 



_______________________________________________________________________
Stas Bekman    mailto:[EMAIL PROTECTED]      http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC     http://www.stason.org/stas/TULARC
perl.apache.org    modperl.sourcegarden.org   perlmonth.com    perl.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to