perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: ERROR : "httpd: relocation error with Parser.so"
Date Thu, 22 Jan 2004 20:23:12 GMT
S D wrote:
> ok - ldd /opt/ora9/product/9.2/Apache/Apache/bin/httpd
> shows:
> ~~~
> libpthread.so.0 => /lib/tls/libpthread.so.0
> (0x40034000)
> libdb.so.2 => /usr/lib/libdb.so.2 (0x40041000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x40050000)
> libm.so.6 => /lib/tls/libm.so.6 (0x40065000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x40087000)
> libdl.so.2 => /lib/libdl.so.2 (0x400b4000)
> libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> ~~~
> I'm completely at loss. How does this tell if the
> Parser module is compatible with version of Perl in
> Apache ?

Well you didn't tell us what is your mod_perl build. Apparently it's not 
static but DSO. Find your libperl.so mod_perl module (check your httpd.conf 
for the location) and run ldd on it (in mod_perl 1.0 the modperl shared 
library is confusing called the same way as the perl shared library)

> For one, how do I know correct version of Perl in
> Apache ? Under Apache, there are directories
> ./perl/lib/5.00503 and ./perl/lib/perl5/5.8.0. So
> what's the version of Perl here - 5.00503 or 5.8.0 ??
> 
> The module which is being used here -HTML-Parser-, its
>  README mentions version of Perl required as 5.005 or
> higher. So I guess the Apache is compatible .

Yes, but different perl versions are not binary compatible.

> I even downloaded older versions of the perl module,
> but they did not even contain the 'Parser.so' , so I
> guess I'm using the correct version.

That's the problem with downloding different versions of binary builds. When 
you build things by yourself you know which perl you have used and you don't 
encounter.

You should be able to figure out which is the right perl by following my 
suggestion above.

[please also read:
http://perl.apache.org/maillist/email-etiquette.html#toc_Extracts_From_Other_Posts]

__________________________________________________________________
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


Mime
View raw message