From owner-freebsd-questions Fri Sep 28 12:40:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 577E137B409 for ; Fri, 28 Sep 2001 12:40:27 -0700 (PDT) Received: from oneworld.owt.com (oneworld.owt.com [204.118.6.2]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id MAA23406; Fri, 28 Sep 2001 12:40:26 -0700 Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by oneworld.owt.com (8.11.4/8.11.4) with ESMTP id f8SJeM506075; Fri, 28 Sep 2001 12:40:22 -0700 Message-ID: <3BB4D224.99CA89CF@owt.com> Date: Fri, 28 Sep 2001 12:40:20 -0700 From: Kent Stewart Reply-To: kbstew99@hotmail.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: Mike Meyer Cc: Andrew J Caines , questions@FreeBSD.ORG Subject: Re: Tracking down libpng.so.4 package dependency References: <15284.53157.808642.644254@guru.mired.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mike Meyer wrote: > > Andrew J Caines 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. There was an example given for png a while back it went like portinstall -irf png This was to check all of the installed ports that use png and make them consistent. I had the problem with png but did a "pkg_delete -a". Everything was too far out of date and started over. Kent -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com Carl Sagan quote on Seti@home http://setiathome.ssl.berkeley.edu/pale_blue_dot.html It is hard to believe you are soaring with Eagles (las águilas) when you accept SPAM like a mouse (el ratón). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message