[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re: compile error
From: Stas Bekman <stas () stason ! org>
Date: 2003-04-30 22:56:41
[Download RAW message or body]
J S wrote:
> I need to keep the mod_perl dynamic so that I can upgrade it later if
> need be, and also I don't want to have to rebuild Apache as well. I did
> get the libperl.so to build today by adding -DUSE_HSREGEX to
> EXTRA_CFLAGS in the Makefile. Not sure if that was right but it at least
> got the compile to work.
Great
> The problem now is I can't get apache to start:
>
> smpd9$ /opt/apache_1.3.27/bin/apachectl configtest
> Syntax error on line 208 of /opt/apache_1.3.27/conf/httpd.conf:
> Cannot load /opt/apache_1.3.27/libexec/libperl.so into server: ld.so.1:
> /opt/apache_1.3.27/bin/httpd: fatal: relocation error: file
> /opt/apache_1.3.27/libexec/libperl.so: symbol Perl_vmess: referenced
> symbol not found
[...]
> I have a bit more debug for you but I'm not sure how meaningful this is:
All, but one bit is missing from the puzzle
> # ldd ../libexec/libperl.so
> libperl.so =>
> /opt/perl-5.8.0/lib/5.8.0/sun4-solaris/CORE/libperl.so
> # nm -r ../libexec/libperl.so
> [1356] | 0| 0|FUNC |GLOB |0 |UNDEF
> |libperl.so:Perl_vmess
What's the output of
nm /opt/perl-5.8.0/lib/5.8.0/sun4-solaris/CORE/libperl.so | grep Perl_vmess
__________________________________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic