From owner-freebsd-questions@FreeBSD.ORG Tue Mar 3 15:54:32 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 49EBF106568D for ; Tue, 3 Mar 2009 15:54:32 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1AC908FC08 for ; Tue, 3 Mar 2009 15:54:31 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.lan.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id F1316AFC1FE; Tue, 3 Mar 2009 06:54:30 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 3 Mar 2009 06:54:30 -0900 User-Agent: KMail/1.9.10 References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> In-Reply-To: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FA@FBCMST11V01.fbc.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903030654.30799.fbsd.questions@rachie.is-a-geek.net> Cc: m.borsatino@alice.it 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: Tue, 03 Mar 2009 15:54:32 -0000 On Sunday 01 March 2009 00:41:54 m.borsatino@alice.it wrote: > I've installed netbeans from ports without error messages. when I started > the program I got an error like this: "libpthread.so.2 needed by java not > found". I've verified that there is a libpthread.so.20 in > /usr/local/lib/pth. Did you upgrade your machine to 6.x to 7.x recently and not recompile your ports? That's the only way I can think of that would "install netbeans without error messages". Your java was compiled on 6.x and used libpthread.so.2 and libc.so.6 from there. If you installed diablo-jdk15 on your 7.x system the compat6x port should have been installed automatically. The other case that could explain this, would be that you modified ldconfig_paths in /etc/rc.conf and removed /usr/local/lib/compat/pkg. Either way, if you have: diablo-jdk-1.5.* in /var/db/pkg, you should do what Dan said and install misc/compat6x. libmap.conf is a bad idea. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.