You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/02/11 21:18:15 UTC

Re: [mp2] Cannot load mod_perl.so into server. Undefined symbol "Perl _vmess"

Roman Bessyadovskii wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
> 
> After successful compile mod_perl-1.99_12 i try load mod_perl.so in httpd
> (Apache/2.0.48) i recive message bellow (here output 
> mod_perl-1.99_10, that i try to install from FreeBSD 4.2-RELEASE ports, and
> in release 12 i have same problem)
[...]
> waiting for server to start: .Syntax error on line 16 of 
> /usr/ports/www/mod_perl2/work/mod_perl-1.99_10/t/conf/httpd.conf:
> Cannot load 
> /usr/ports/www/mod_perl2/work/mod_perl-1.99_10/src/modules/perl/mod_perl.so 
> into server: 
> /usr/ports/www/mod_perl2/work/mod_perl-1.99_10/src/modules/perl/mod_perl.so:
> 
> Undefined symbol "Perl_vmess"

Show us the output of:

nm /usr/ports/www/mod_perl2/work/mod_perl-1.99_10/src/modules/perl/mod_perl.so 
| grep Perl_vmess

it looks like during the linking phase, it has picked the wrong libperl.a. Do 
you have more than one libperl.a on your system?

Please run the following:

cd modperl-1.99_12
cd src/modules/perl
rm -f mod_perl.so
make -f Makefile.modperl
cat /etc/ld.so.conf

and post the output here.

> *** Packages of interest status:
[...]
> mod_perl       : 1.9912, 1.9912

It also looks like you have mp2 installed more than once. Show us the outpuf of:

find /usr/local/lib/perl5/ -type f -name 'mod_perl.pm'

You probably want to nuke all the previously installed instances of mp2.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Reporting bugs: 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