Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 14:29:41 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Andrew J Caines <A.J.Caines@halplant.com>
Cc:        questions@freebsd.org
Subject:   Re: Tracking down libpng.so.4 package dependency
Message-ID:  <15284.53157.808642.644254@guru.mired.org>
In-Reply-To: <103067005@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew J Caines <A.J.Caines@halplant.com> types:
> In a recent round of package updates using the excellent portupgrade to
> build from ports, I updated to png-1.2.0, which moved from libpng.so.4 to
> libpng.so.5.
> According to ldd, the following dynamicly linked executables are still
> linked to libpng.so.4 despite updating the packages to which they belong:
> 
> /usr/X11R6/bin/ebrowser
> /usr/X11R6/bin/galeon-bin
> /usr/X11R6/bin/gnome-about
> /usr/X11R6/bin/gnome-gtkhtml-editor
> /usr/X11R6/bin/gnome-session
> /usr/X11R6/bin/gtkhtml-properties-capplet
>
> I've updated all the packages in /var/db/pkg/png-1.2.0/+REQUIRED_BY [2],
> which I realise is probably circular.

If you'd saved the one from the previous version, it wouldn't have
been :-).

> What have I missed and what do I need to do about it? I'd prefer not to remove and rebuild three quarters of my packages just to catch the last dependenc(y|ies).
> 

Ugh - why didn't the last paragraph get wrapped? Oh well..

Question one: What is a "forced udpate"? Are the ports fully cleaned
before you make them? I expect the answer is "yes", but want to be
sure.

You can get a list of all the files in the ports tree that reference
png like so:

cd /usr/ports
find `pkg_info -aoq` -type f | xargs grep '[^.]png'

If you find a file in a port that you haven't updated, you might try
updating that port, then rebuilding the galeon port.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Q: How do you make the gods laugh?		A: Tell them your plans.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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