Re: mod_perl2/apache/threads

From: Alex Vasylenko <lxv_at_omut.org>
Date: Thu, 10 Jun 2004 08:54:12 -0400
asfdqwer xzcvdsf wrote:
> I'm probably doing something wrong (as usual) but..
> 
> I just compiled mod_perl2 and tried to startup
> apache and got the following core dump:
> 
> athlon1# /usr/local/etc/rc.d/apache2.sh restart
> Stopping apache2.
> Waiting for PIDS: 72780.
> Starting apache2.
> Fatal error 'Spinlock called when not threaded.' at
> line 83 in file
> /usr/src/lib/libpthread/thread/thr_spinlock.c (errno =
> 0)
> Abort trap (core dumped)

perl-threaded from ports is linked with libc_r.so.5.
use libmap.conf(5) to remap that to reference libpthread.so.1 (put the 
following into /etc/libmap.conf):
libpthread.so.1     libpthread.so.1 # Everything uses 'libpthread'
libpthread.so       libpthread.so
libc_r.so.5         libpthread.so.1 # Everything that uses 'libc_r'
libc_r.so           libpthread.so   # now uses 'libpthread'

best regards,
--
Alex.
Received on Thu Jun 10 2004 - 10:54:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:56 UTC