su-2.04$ nm /usr/lib/libperl.so.3 | grep vmess
/usr/libexec/elf/nm: /usr/lib/libperl.so.3: no symbols
su-2.04$ nm /usr/lib/libperl_p.a | grep vmess
su-2.04$ nm /usr/local/lib/perl5/5.8.3/i386-freebsd/CORE/libperl.so | grep
vmess
00064168 T Perl_vmess

I try to replace libperl.so.3 with new one, it doesn't help.
I find also libperl.so in apache libexec dir - /raid/www/libexec/libperl.so
it doesn't contain Perl_vmess too.
I replace that file, and recive Undefined symbol "PL_stack_sp", that was in
old libperl.so (in apache dir), and not present in 
/usr/local/lib/perl5/5.8.3/i386-freebsd/CORE/libperl.so

>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?
Yes. I have upgrade perl from 5.0005, and I have /usr/lib/libperl.a from
that version
I try to remove this file, and copy new one from
/usr/local/lib/perl5/5.8.3/i386-freebsd/CORE/libperl.a

>It also looks like you have mp2 installed more than once. Show us the
outpuf of:
>You probably want to nuke all the previously installed instances of mp2. 
I remove all of mod_perl.pm and install once again, but I got same error.

---------------------- Output --------------------------------
su-2.04# nm src/modules/perl/mod_perl.so  | grep Perl_vmess
         U Perl_vmess

su-2.04# make -f Makefile.modperl
rm -f mod_perl.so
cc -shared  -L/usr/local/lib    mod_perl.lo modperl_interp.lo
modperl_tipool.lo modperl_log.lo modperl_config.lo modperl_cmd.lo
modperl_options.lo modperl_callback.lo modperl_handler.lo modperl_gtop.lo
modperl_util.lo modperl_io.lo modperl_io_apache.lo modperl_filter.lo
modperl_bucket.lo modperl_mgv.lo modperl_pcw.lo modperl_global.lo
modperl_env.lo modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo
modperl_perl_pp.lo modperl_sys.lo modperl_module.lo modperl_svptr_table.lo
modperl_const.lo modperl_constants.lo modperl_apache_compat.lo
modperl_hooks.lo modperl_directives.lo modperl_flags.lo modperl_xsinit.lo
-Wl,-E  -L/usr/local/lib
/usr/local/lib/perl5/5.8.3/i386-freebsd/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.8.3/i386-freebsd/CORE -lperl -lm -lcrypt -lutil -lc
-o mod_perl.so
: mod_perl.so
rm -f mod_perl.a
ar crv mod_perl.a mod_perl.o modperl_interp.o modperl_tipool.o modperl_log.o
modperl_config.o modperl_cmd.o modperl_options.o modperl_callback.o
modperl_handler.o modperl_gtop.o modperl_util.o modperl_io.o
modperl_io_apache.o modperl_filter.o modperl_bucket.o modperl_mgv.o
modperl_pcw.o modperl_global.o modperl_env.o modperl_cgi.o modperl_perl.o
modperl_perl_global.o modperl_perl_pp.o modperl_sys.o modperl_module.o
modperl_svptr_table.o modperl_const.o modperl_constants.o
modperl_apache_compat.o modperl_hooks.o modperl_directives.o modperl_flags.o
modperl_xsinit.o
a - mod_perl.o
a - modperl_interp.o
a - modperl_tipool.o
a - modperl_log.o
a - modperl_config.o
a - modperl_cmd.o
a - modperl_options.o
a - modperl_callback.o
a - modperl_handler.o
a - modperl_gtop.o
a - modperl_util.o
a - modperl_io.o
a - modperl_io_apache.o
a - modperl_filter.o
a - modperl_bucket.o
a - modperl_mgv.o
a - modperl_pcw.o
a - modperl_global.o
a - modperl_env.o
a - modperl_cgi.o
a - modperl_perl.o
a - modperl_perl_global.o
a - modperl_perl_pp.o
a - modperl_sys.o
a - modperl_module.o
a - modperl_svptr_table.o
a - modperl_const.o
a - modperl_constants.o
a - modperl_apache_compat.o
a - modperl_hooks.o
a - modperl_directives.o
a - modperl_flags.o
a - modperl_xsinit.o
: mod_perl.a
su-2.04# cat /etc/ld.so.conf
cat: /etc/ld.so.conf: No such file or directory
su-2.04#

-----Original Message-----
From: Stas Bekman [mailto:[EMAIL PROTECTED] 
Sent: 11 февраля 2004 г. 23:18
To: Roman Bessyadovskii
Cc: [EMAIL PROTECTED]
Subject: 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"


-- 
Report problems: 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

Reply via email to