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 ?
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 . 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. Any pointers please ?? Thanks, SD --- Stas Bekman <[EMAIL PROTECTED]> wrote: > S D wrote: > > When using LWP::UserAgent module, I get following > > error : > > /opt/ora9/product/9.2/Apache/Apache/bin/httpd: > > relocation error: > > > /opt/ora9/product/9.2/Apache/perl/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/HTML/Parser/Parser.so: > > undefined symbol: Perl_Tstack_sp_ptr > > Usually that means that mod_perl and HTML::Parser > weren't compiled using the > same perl. > > Do: > > ldd /opt/ora9/product/9.2/Apache/Apache/bin/httpd > > and it'll tell you which perl library it's compiled > against (assuming it's a > static build) then check that HTML::Parser was built > with the same perl. > > > __________________________________________________________________ > 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 > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ -- 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