Bryn Dyment wrote:
 >>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?



Before any Apache stuff, but after upgrading Perl, I have libperl.a at:


        /usr/lib/libperl.a (~850K)
        /usr/local/lib/perl5/5.8.0/i386-freebsd/CORE/libperl.a (~2.5G)
        /usr/local/src/perl-5.8.0/libperl.a (~2.5G)

and you don't have: /usr/local/lib/perl5/5.8.0/i386-freebsd/CORE/libperl.so right?

I assume that when you run:

perl Makefile.PL APACHE_SRC=../apache_1.3.28/src \

perl == /usr/local/bin/perl5.8.0, right? Please post the output of

% perl -V

When 'make' fails, I now have another libperl.a at:

/usr/local/src/apache_1.3.28/src/modules/perl/libperl.a (~262K)

... and no additional 'libperl.so' files.

right, this is an unfortunate choice of name for the mod_perl lib, which makes things a bit confusing (since it has the same name as perl's libperl.a), but it's not a problem.


I also note that 'modules/perl/libperl.a' appears in the failed gcc:

that's the modperl's libperl.a, you also need perl's libperl.a, hence I suggested that you run:


cd ../apache_1.3.28/src
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

which I guess you didn't. You will need to make the above into a single line of course.

__________________________________________________________________
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