-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:
I'm trying to get mod_perl and Apache 2.0.49 (I guess now 50 in the last 24 hours :-) built on my Solaris 8 machine but I'm running into various problems and I'm hoping someone on the list can point me in the right direction. I'm using gcc 3.3.2 and I've successfully built both perl 5.8.0, mod_perl 1.99_14, and Apache 2.0.50 independent of each other. I built mod_perl 1.99_14 using the following setting:
perl Makefile.PL MP_APXS=/apps/apache/2.0.50/bin/apxs MP_INST_APACHE2=1; make; make install
However, when I try to run Apache, I get this error:
# bin/httpd -C "LoadModule perl_module modules/mod_perl.so" -t Syntax error in -C/-c directive:\nCannot load /apps/apache/2.0.50/modules/mod_perl.so into server: ld.so.1: bin/httpd: fatal: relocation error: file /apps/apache/2.0.50/modules/mod_perl.so: symbol PL_op: referenced symbol not found
Running Apache without mod_perl or with other add-on modules seems to work OK. I've gotten the specific error above with both apache 2.0.49 and 2.0.50. When
I try "ldd -r modules/mod_perl.so", I get the following:
libperl.so => /apps/perl/5.8.0/lib/5.8.0/sun4-solaris/CORE/libperl.so libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libm.so.1 => /usr/lib/libm.so.1 libc.so.1 => /usr/lib/libc.so.1 libmp.so.2 => /usr/lib/libmp.so.2 symbol not found: PL_op (modules/mod_perl.so) symbol not found: PL_op (modules/mod_perl.so) symbol not found: PL_op (modules/mod_perl.so) symbol not found: PL_op (modules/mod_perl.so) symbol not found: PL_curpad (modules/mod_perl.so) symbol not found: PL_curpad (modules/mod_perl.so) symbol not found: PL_curpad (modules/mod_perl.so) symbol not found: PL_curpad (modules/mod_perl.so) symbol not found: PL_sv_yes (modules/mod_perl.so) symbol not found: PL_sv_yes (modules/mod_perl.so) symbol not found: main (modules/mod_perl.so) [... and so on ...]
PL_op, PL_curpad, etc., seem to be in libperl.a (but not libperl.so).
Something is wrong about your perl. Or do you have more than one perl installed on your system. This:
*** /apps/perl/5.8.0/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
tells that your perl has no shared library libperl.so, though your ldd shows that you have: /apps/perl/5.8.0/lib/5.8.0/sun4-solaris/CORE/libperl.so
I'd suggestion to scrap /apps/perl/5.8.0/ completely, reinstall perl and try again.
Most likely you've built perl twice, first dynamically, then statically and have a mixed up installation in the same location, confusing the loader.
-- __________________________________________________________________ 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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
