mod_perl2/apache/threads

Alex Vasylenko lxv at omut.org
Thu Jun 10 12:54:18 GMT 2004


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.


More information about the freebsd-current mailing list