From owner-freebsd-questions Thu May 17 19:28:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mx01-a.netapp.com (mx01-a.netapp.com [198.95.226.53]) by hub.freebsd.org (Postfix) with ESMTP id 689DA37B424 for ; Thu, 17 May 2001 19:28:12 -0700 (PDT) (envelope-from boshea@netapp.com) Received: from frejya.corp.netapp.com (frejya.corp.netapp.com [10.10.20.91]) by mx01-a.netapp.com (8.11.1/8.11.1/NTAP-1.2) with ESMTP id f4I2NtK12247; Thu, 17 May 2001 19:23:55 -0700 (PDT) Received: from shaolin.hq.netapp.com (localhost [127.0.0.1]) by frejya.corp.netapp.com (8.11.1/8.11.1/NTAP-1.2) with ESMTP id f4I2Nsq10854; Thu, 17 May 2001 19:23:54 -0700 (PDT) Received: (from boshea@localhost) by shaolin.hq.netapp.com (8.9.3/8.9.3) id TAA18807; Thu, 17 May 2001 19:32:22 -0700 (PDT) (envelope-from boshea) Date: Thu, 17 May 2001 19:32:22 -0700 From: "Brian O'Shea" To: j mckitrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: *really* dumb library question Message-ID: <20010517193222.D62767@shaolin.hq.netapp.com> Reply-To: boshea@ricochet.net Mail-Followup-To: Brian O'Shea , j mckitrick , freebsd-questions@FreeBSD.ORG References: <20010518010207.A83782@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20010518010207.A83782@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Fri, May 18, 2001 at 01:02:07AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG On Fri, May 18, 2001 at 01:02:07AM +0100, j mckitrick wrote: > > I'm sure this is very simple, but it suddenly occurred to me i don't > know the answer. If i have one library installed, then i install > another port that installs a newer version of the library, how do i > get rid of the old one? Can i just 'pkg_delete' the port and the > old lib, then 'make install' the port again, and let the makefile > figure out the new library is there? It depends on weather or not the library was installed as a package. If it was, then it can be removed like any other package. However, some library packages are installed as dependencies of other packages. You can check what packages depend on glib-1.2.8 with the following command: # find /var/db/pkg -name '+CONTENTS' -print | xargs grep '^@pkgdep' \ | grep 'glib-1\.2\.8' | cut -d/ -f5 Other libraries are distributed with the base system. You should not attempt to remove them. -brian > > Thanks a lot. If anyone has a libraries FAQ, please point me in the > right direction. :) > > > Jonathon > -- > When I die, I want to go in my sleep, like my grandfather. > Not screaming, like the passengers in his car. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Brian O'Shea To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message