From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 29 00:55:17 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0732C16A417 for ; Thu, 29 Nov 2007 00:55:17 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6907213C461; Thu, 29 Nov 2007 00:55:16 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <474E0DFE.9000706@FreeBSD.org> Date: Thu, 29 Nov 2007 01:55:26 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Yuri References: <1196295955.474e0713b530b@webmail.rawbw.com> In-Reply-To: <1196295955.474e0713b530b@webmail.rawbw.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: /lib/pthread.so.2 is sought during some port compilation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 00:55:17 -0000 Yuri wrote: > I tried to compile firefox-2.0.0.10 on 7.0-BETA3. > And one linking command failed seeking for malloc_lock symbol required by > /lib/pthread.so.2. Obviously it tried to link obsolete /lib/pthread.so.2 with > the new /lib/libc.so.7. > > By reading /usr/src/UPDATING I learn that the default threading library has been > replaced by /lib/libthr.so. > > Why would linker seek for libpthread.so instead of libthr.so? libpthread is a symlink to libthr on a correctly functioning FreeBSD 7.0 installation. In general, when you encounter a problem you need to cut and paste the exact errors, instead of typing from memory and getting it wrong (there is no "/lib/pthread.so.2", etc). Showing us the errors mean that we are more likely to understand your problem and help you to fix it. Kris