From owner-freebsd-questions@FreeBSD.ORG Thu Apr 12 15:47:33 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B11616A403 for ; Thu, 12 Apr 2007 15:47:33 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id B41E513C448 for ; Thu, 12 Apr 2007 15:47:22 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l3CFFwdx023432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 12 Apr 2007 10:15:58 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l3CFFwax023430; Thu, 12 Apr 2007 10:15:58 -0500 (CDT) (envelope-from dan) Date: Thu, 12 Apr 2007 10:15:58 -0500 From: Dan Nelson To: Robert Huff Message-ID: <20070412151557.GG88325@dan.emsphone.com> References: <17950.17735.589770.499548@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17950.17735.589770.499548@jerusalem.litteratus.org> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: questions@freebsd.org Subject: Re: correct lib version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 15:47:33 -0000 In the last episode (Apr 12), Robert Huff said: > > What is the correct version of libpthread for -CURRENT? > I ask because: > > huff@> find /usr/local/lib -name "libpthread.*" > /usr/local/lib/compat/libpthread.so.1 That's from the compat5x port/package. You can use the pkg_which command to determine which ports files in /usr/local/* came from. > /usr/local/lib/pth/libpthread.so > /usr/local/lib/pth/libpthread.so.20 > /usr/local/lib/pth/libpthread.a That's from the GNU "pth" port, which is a userland thread library similar to libc_r. It's tucked away in its own subdirectory so only ports that explicitly look for it will use it. > huff@> find /usr/lib -name "libpthread.*" > /usr/lib/libpthread.so.1 > /usr/lib/libpthread.a > /usr/lib/libpthread.so That's a libpthread.so.1 from when your system was running 5.*. 6.* and later put critical shared libs in /lib, so you should see a /lib/libpthread.so.2 file there. -- Dan Nelson dnelson@allantgroup.com