From owner-freebsd-current@FreeBSD.ORG Thu Jun 10 12:54:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BACB216A4CE for ; Thu, 10 Jun 2004 12:54:18 +0000 (GMT) Received: from mail.omut.org (mail.omut.org [216.218.215.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BAA443D53 for ; Thu, 10 Jun 2004 12:54:18 +0000 (GMT) (envelope-from lxv@omut.org) Received: from [10.10.10.26] (bullfrog.intranet [10.10.10.26]) (authenticated bits=0) by mail.omut.org (8.12.11/8.12.11) with ESMTP id i5ACsEpv043314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 10 Jun 2004 05:54:15 -0700 (PDT) (envelope-from lxv@omut.org) Message-ID: <40C859F4.8040708@omut.org> Date: Thu, 10 Jun 2004 08:54:12 -0400 From: Alex Vasylenko User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en MIME-Version: 1.0 To: asfdqwer xzcvdsf References: <20040610030628.66124.qmail@web21324.mail.yahoo.com> In-Reply-To: <20040610030628.66124.qmail@web21324.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.43 cc: freebsd-current@freebsd.org Subject: Re: mod_perl2/apache/threads X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 12:54:18 -0000 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.