cohibaport
New member
- Joined
- Mar 13, 2007
- Messages
- 1
I recently uninstalled Perl 5.8.2 and reinstalled Perl 5.8.8. After doing this, I noticed there were some issues when attempting to restart apache. I'm running mod_perl-1.29_2 with apache-1.3.29_1 on FreeBSD 4.9.
Here's the error when starting apache:
Syntax error on line 74 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libperl.so into server: /usr/local/libexec/apache/libperl.so: Undefined symbol "pthread_getspecific"
/usr/local/sbin/apachectl start: httpd could not be started
Here's some info on libperl.so
# ldd /usr/local/libexec/apache/libperl.so
/usr/local/libexec/apache/libperl.so:
libperl.so => /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so (0x2815a000)
libm.so.2 => /usr/lib/libm.so.2 (0x2825f000)
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2827a000)
libutil.so.3 => /usr/lib/libutil.so.3 (0x28293000)
And then when checking for the symbol:
# nm /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so | grep patchlevel
000f46a0 B PL_patchlevel
I'm hoping I can patch things up without recompiling apache. I did recompile mod_perl successfully, but that didn't do anything for me.
Thanks in advance.
Edit/Delete Message
Here's the error when starting apache:
Syntax error on line 74 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libperl.so into server: /usr/local/libexec/apache/libperl.so: Undefined symbol "pthread_getspecific"
/usr/local/sbin/apachectl start: httpd could not be started
Here's some info on libperl.so
# ldd /usr/local/libexec/apache/libperl.so
/usr/local/libexec/apache/libperl.so:
libperl.so => /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so (0x2815a000)
libm.so.2 => /usr/lib/libm.so.2 (0x2825f000)
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2827a000)
libutil.so.3 => /usr/lib/libutil.so.3 (0x28293000)
And then when checking for the symbol:
# nm /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so | grep patchlevel
000f46a0 B PL_patchlevel
I'm hoping I can patch things up without recompiling apache. I did recompile mod_perl successfully, but that didn't do anything for me.
Thanks in advance.
Edit/Delete Message