Bryn Dyment wrote:
Hi,

Stas Bekman wrote:


You do have it in the apache tree, the problem is that you overwrite
it later on. See:


http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_ssl___op enssl

This link describes a similar build process to the one I'm using (although
I'm not having mod_perl build Apache, since I also want to statically
include PHP, etc.).  But, I tried a mod_perl "DO_HTTPD=1" installation
anyway, and it's yielding the same error.

OK, then you said:


>>Next check that it has those symbols defined.
>
> % nm /usr/local/lib/perl5/5.8.0/i386-freebsd/CORE/libperl.a | grep
> Perl_get_sv
> 000021ac T Perl_get_sv

why libperl.a and not libperl.so. Do you have a static perl build? In which case your original failing gcc command should have been:

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,-E
/usr/local/lib/perl5/5.8.1/i386-freebsd/auto/DynaLoader/DynaLoader.a
/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE/libperl.a -lm -lcrypt -lutil -lc

notice that I have changed:

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

to:

/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE/libperl.a

> At the stage that things crashed, I do have libperl.so at
> '/usr/lib/libperl.so.3'.

I don't know what's libperl.so.3, what does it do in /usr/lib? is that's where FreeBSD 4.8 installs perl shared object? shouldn't it be under perl lib tree?

__________________________________________________________________
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



Reply via email to