From owner-freebsd-questions@FreeBSD.ORG Sun Mar 1 11:54:44 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 32AFC106566C for ; Sun, 1 Mar 2009 11:54:44 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B52E98FC18 for ; Sun, 1 Mar 2009 11:54:43 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LdkFm-0001ja-6D for freebsd-questions@freebsd.org; Sun, 01 Mar 2009 11:54:42 +0000 Received: from pool-72-75-62-79.washdc.east.verizon.net ([72.75.62.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Mar 2009 11:54:42 +0000 Received: from nightrecon by pool-72-75-62-79.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Mar 2009 11:54:42 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sun, 01 Mar 2009 06:55:25 -0500 Lines: 46 Message-ID: References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FC@FBCMST11V01.fbc.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-75-62-79.washdc.east.verizon.net User-Agent: KNode/0.99.01 Sender: news Subject: Re: libpthread not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 11:54:44 -0000 m.borsatino@alice.it wrote: [snip] >> 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 > >> but clearly this is not enough. should I restart the system or use a >> program to make the change accepted? >> > > No need, it is picked up the next time the libmap.conf file is parsed. > > What is occurring is the java binary was built against libc.so.6, which is > what you would find on a FreeBSD 6.x box. > >> amm ... when I change the 'candidate' something strange begins to happen: >> bash doesn't work anymore, saying that it does not find the library. this >> happens as soon as I do the change, showing what you've explained to me. I am beginning to wonder if the problem isn't a little more involved. Did you upgrade the machine from FreeBSD 6.x to 7.x without rebuilding all your ports? With bash breaking it sounds like it was built for a 6.x box as well, which leads me to wonder how many other ports are the same way. What you also might look into is installing the misc/compat6x port. However, in any event, we need to get down to the bottom of what happened to create the situation. The most obvious thing I can think of is an upgrade of the system from 6 to 7 without a corresponding rebuild or reinstall of all ports. -Mike