From owner-freebsd-ports@FreeBSD.ORG Sun Feb 1 10:41:50 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDD1C1065674 for ; Sun, 1 Feb 2009 10:41:50 +0000 (UTC) (envelope-from sinux@fsfe.org) Received: from smtp2.infomaniak.ch (smtp2.infomaniak.ch [84.16.68.90]) by mx1.freebsd.org (Postfix) with ESMTP id 5AC368FC26 for ; Sun, 1 Feb 2009 10:41:49 +0000 (UTC) (envelope-from sinux@fsfe.org) Received: from [172.16.1.20] (217-162-55-198.dclient.hispeed.ch [217.162.55.198]) (authenticated bits=0) by smtp2.infomaniak.ch (8.14.2/8.14.2) with ESMTP id n11AfmD3011241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Feb 2009 11:41:49 +0100 From: Sebastien Chassot To: FreeBSD Ports In-Reply-To: <790a9fff0901311455g34dc1c86o8afcff70058eeca4@mail.gmail.com> References: <1233439929.1046.16.camel@dhcppc0> <790a9fff0901311455g34dc1c86o8afcff70058eeca4@mail.gmail.com> Content-Type: text/plain Date: Sun, 01 Feb 2009 11:41:48 +0100 Message-Id: <1233484908.1023.15.camel@dhcppc0> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) for Mail Servers on smtp2 host X-Antivirus-Code: 100000 Cc: Scot Hetzel Subject: Re: how remove old lib in "portupgrade -fr libxcb" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2009 10:41:51 -0000 On Sat, 2009-01-31 at 16:55 -0600, Scot Hetzel wrote: > On Sat, Jan 31, 2009 at 4:12 PM, Sebastien Chassot wrote: > > > > hi, > > > > I've portupgrade my system and as said in UPDATING I launched the > > portupgrade -rf libxcb. > > > > I did it twice and my applications still are linked to libxcb.so.1 and > > libxcb.so.2 > > > > I found out that libxcb.so.1 is in /usr/local/lib/compat/pkg/ and > > libxcb.so.2 is in /usr/local/lib/ > > > > I don't know how remove this old lib and despite lot of portupgrade -f > > xxx it's still there. > > > > How can I solve this issue? > > > Sounds like several of the libraries that your applications require > are still linked to the old libxcb.so.1. > > Use this to find all libraries that are still depending on libxcb.so.1 > > (for i in /usr/local/lib/lib*.so ; do echo -n "$i:" ; ldd $i | grep > "libxcb.so.1" ; echo ; done) | grep libxcb > libxcb.log > > Then rebuild all ports that contain these libraries. I didn't rebuild all ports listed by your command but even after a clean reinstall, "portupgrade -f",... ports that I've rebuild remain linked to libxcb.so.1 and libxcb.so.2 Something stick somewhere... I don't know how compat work but are port looking for old lib in build process to stay compat and could cause this issue?