Date: Thu, 10 Jun 2004 08:54:12 -0400 From: Alex Vasylenko <lxv@omut.org> To: asfdqwer xzcvdsf <brueggma@yahoo.com> Cc: freebsd-current@freebsd.org Subject: Re: mod_perl2/apache/threads Message-ID: <40C859F4.8040708@omut.org> In-Reply-To: <20040610030628.66124.qmail@web21324.mail.yahoo.com> References: <20040610030628.66124.qmail@web21324.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40C859F4.8040708>