From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 23:31:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1095010656C0 for ; Mon, 2 Mar 2009 23:31:15 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id BCB758FC0C for ; Mon, 2 Mar 2009 23:31:14 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id n22NVDF4082125 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 2 Mar 2009 17:31:13 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n22NVCCk074761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 2 Mar 2009 17:31:13 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n22NVBmP074705; Mon, 2 Mar 2009 17:31:11 -0600 (CST) (envelope-from dan) Date: Mon, 2 Mar 2009 17:31:11 -0600 From: Dan Nelson To: Michael Powell Message-ID: <20090302233111.GB78542@dan.emsphone.com> References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> <49AA5D4C.3070901@gmail.com> <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FB@FBCMST11V01.fbc.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.1-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Mon, 02 Mar 2009 17:31:13 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: libpthread not found 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: Mon, 02 Mar 2009 23:31:15 -0000 In the last episode (Mar 01), Michael Powell said: > m.borsatino@alice.it wrote: > > thanks ... but ... how? > > now I don't get the first message; but the second tells me that a library > > is missing, but it is present. anyway I' prepared a very simple > > /etc/libmap.conf like this: > > > > # /etc/libmap.conf > > # > > # candidate mapping > > # > > libc.so.6 /usr/compat/linux/lib/libc.so.6 > > Change to: > > libc.so.6 libc.so.7 No, definitely do not do this. The version of a shared library is bumped when incompatible changes are made. If libc.so.7 was compatible with libc.so.6, why wasn't it called libc.so.6? :) libmap.conf is only meant to exchange ABI-compatible libraries (primarily the older threads libraries libc_r, libthr, and libpthread). You want to install the compat6x port, which will install FreeBSD 6.x libraries, including libc.so.6. -- Dan Nelson dnelson@allantgroup.com