Slade Edmonds wrote: [...]
modules/standard/libstandard.a is the archive including mod_include.a so it should link with -lperl just fine. Unless it finds a wrong perl library.
is it possible that you have other (older?) perls installed on the same system and it finds them before your 5.6.1's libperl.so?
Show us the output of:
% locate libperl.so
(there may be libperl.so from mod_perl 1 too if you have ever built mod_perl 1 as DSO, which is misleading called the same as the perl library).
Here I think lies a problem. Turns out there was no libperl.so on the system. I installed the libperl5.6 package and now have:
/usr/lib/libperl.so.5.6.1 /usr/lib/libperl.so.5.6
Now when I run "perl Makefile.PL APACHE_SRC=../apache_1.3.29/src APACHE_PREFIX=/usr/local/apache DO_HTTPD=1 USE_APACI=1 EVERYTHING=1", it stops and reports this:
======== Error Output for sanity check ========
cd ..; cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/lib/perl/5.6.1/CORE -o helpers/dummy helpers/dummy.c -lm -lcrypt -rdynamic -L/usr/local/lib /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Thanks for your help.
After installing libperl.so in /usr/lib did you run 'ldconfig'? Your package manager/script should have done that. After you run that it'll find the library.
Also you need to symlink ln -s /usr/lib/libperl.so.5.6.1 /usr/lib/libperl.so
again, this is the job your package installer should have done.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.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