From owner-freebsd-questions@FreeBSD.ORG Fri Mar 25 02:33:46 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2797216A4CE for ; Fri, 25 Mar 2005 02:33:46 +0000 (GMT) Received: from sanddollar.geekisp.com (sanddollar.geekisp.com [204.89.131.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7333443D4C for ; Fri, 25 Mar 2005 02:33:45 +0000 (GMT) (envelope-from njt@dune.geekisp.com) Received: (qmail 17447 invoked from network); 25 Mar 2005 02:33:44 -0000 Received: from unknown (192.168.4.35) by mail.geekisp.com with QMQP; 25 Mar 2005 02:33:44 -0000 Date: Thu, 24 Mar 2005 21:34:06 -0500 From: "N.J. Thomas" To: questions@freebsd.org Message-ID: <20050325023406.GA9051@ayvali.org> References: <20050324011607.GA1199@ayvali.org> <200503232200.58849.bob89@bobj.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503232200.58849.bob89@bobj.org> User-Agent: Mutt/1.4.1i cc: Bob Johnson Subject: Re: greetings from FreeBSD DLL Hell! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 02:33:46 -0000 * Bob Johnson [2005-03-23 22:00:58 -0500]: > On Wednesday 23 March 2005 08:16 pm, N.J. Thomas wrote: > > "pkg_add -r foo". This worked, but it went and downloaded older > > versions of various programs (i.e. Mozilla Firefox 0.9). > > By default, pkg_add uses the packages that were built for your release > (so everything is consistent). As a result, when your release gets to > be a few months old, so do the packages. Thanks for the tip. I wasn't aware that pkg_add -r was more or less tied strictly to the release version. I followed your advice and deleted all the older packages, installed portupgrade, updated the ports tree, and reinstalled everything I needed. Things seem to be okay now. > > I installed some packages with pkg_add -r (which used the > > 5.3-RELEASE versions of the software), and then installed some other > > stuff with ports, and then updated ports with cvsup and then > > installed yet some more stuff, and now I seem to find myself in the > > FreeBSD equivalent of "DLL Hell". > > What do you mean when you say you are in DLL hell? Is something > actually not working right? FreeBSD is pretty good about managing > libraries. Well, the specific problem I had was that after doign a fresh install, I installed some packages with pkg_add. Then I updated ports, and installed some more stuff. And then when I went back to use pkg_add, it complained about some program need library v1.4 but v1.6 was installed on the system (because it had been installed by ports). thanks, Thomas -- N.J. Thomas njt@ayvali.org Etiamsi occiderit me, in ipso sperabo