From owner-freebsd-stable@FreeBSD.ORG Tue Nov 6 01:06:25 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D464216A419 for ; Tue, 6 Nov 2007 01:06:25 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 8A9DC13C48A for ; Tue, 6 Nov 2007 01:06:25 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 10587 invoked from network); 5 Nov 2007 19:06:16 -0600 Received: from 124-170-22-248.dyn.iinet.net.au (HELO localhost) (124.170.22.248) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 5 Nov 2007 19:06:16 -0600 Date: Tue, 6 Nov 2007 12:06:07 +1100 From: Norberto Meijome To: Kris Kennaway Message-ID: <20071106120607.573d5a73@meijome.net> In-Reply-To: <472F9B95.6080309@FreeBSD.org> References: <20071105210626.49f84cc5@meijome.net> <472EF3D4.70507@FreeBSD.org> <20071106085935.13061afb@meijome.net> <472F9B95.6080309@FreeBSD.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable ML Subject: Re: Understanding libpthread.so.2 undef reference error.... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2007 01:06:25 -0000 On Mon, 05 Nov 2007 23:39:17 +0100 Kris Kennaway wrote: > > Hi Kris, > > thanks for the explanation. I don't think I did that, as this is a 100% clean install of 7,but maybe I bungled it somewhere. > > > > is there a way to know what is cross linked? should I get rid of compat6x? > > Well in that case you managed to somehow install a 6.x binary on there > (not compat6x), which is now being linked to 7.0 binaries (this should > never happen in a correctly functioning system). Either rerun > portupgrade -fa, or use pkg_which on the binaries and libraries that are > giving problems to try and track down which need to be reinstalled. Thanks Kris, that's what I did. for each of the messages that I got showing : /usr/bin/ld: warning: libpthread.so.2, needed by /usr/local/lib/libicui18n.so.36, not found (try using -rpath or -rpath-link or similar, i did pkg_info -W {Library} ( in this case /usr/local/lib/libicui18n.so.36 , which pointed to icu), and rebuilt the package. It seems I must have used portinstall -pP instead of -p in a couple of places and managed to confuse the heck of my system. Everything seems to be building ok so far :) thanks so much for the pointer! B _________________________ {Beto|Norberto|Numard} Meijome "Build a system that even a fool can use, and only a fool will want to use it." George Bernard Shaw I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.