Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2009 16:55:52 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Sebastien Chassot <sinux@fsfe.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: how remove old lib in "portupgrade -fr libxcb"
Message-ID:  <790a9fff0901311455g34dc1c86o8afcff70058eeca4@mail.gmail.com>
In-Reply-To: <1233439929.1046.16.camel@dhcppc0>
References:  <1233439929.1046.16.camel@dhcppc0>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 31, 2009 at 4:12 PM, Sebastien Chassot <sinux@fsfe.org> 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.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0901311455g34dc1c86o8afcff70058eeca4>