Thanks for the detailed explanation.

I did a fresh install of the OS, and re-installed Perl 5.8.1, but this time
with the '-Duseshrplib' option.  After installation, I confirmed that I had
'libperl.so' in '/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE'.

Then I re-installed SSL/mod_perl/Apache (without the patch), but got the
same error:

---
gcc -funsigned-char -DMOD_SSL=208115 -DMOD_PERL -DUSE_PERL_SSI
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -DEAPI
-DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -L/usr/lib -o httpd
buildmark.o modules.o  modules/standard/libstandard.a modules/ssl/libssl.a
modules/perl/libperl.a  main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -lcrypt -lssl -lcrypto
-Wl,-R/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -Wl,-E
/usr/local/lib/perl5/5.8.1/i386-freebsd/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -lperl -lm -lcrypt -lutil -lc

modules/perl/libperl.a(mod_perl.o): In function `perl_restart_handler':
mod_perl.o(.text+0x23b): undefined reference to `Perl_get_sv'
modules/perl/libperl.a(mod_perl.o): In function `perl_restart':
mod_perl.o(.text+0x2c7): undefined reference to `Perl_get_sv'
mod_perl.o(.text+0x2fe): undefined reference to `Perl_eval_pv'
mod_perl.o(.text+0x31a): undefined reference to `Perl_sv_setsv_flags'
---

I assumed that this:

        -L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -lperl

... would now be OK on my system.

I have not tried the patch yet (after reading your explanation, it seemed
better to re-build Perl as a shared library, which would give me the
benefits of a shared library, and allow me to avoid a patch).

Updated 'perl -V' output is at
http://www.bigtrouble.com/perl_minus_V_shared_output.html


Reply via email to