From owner-freebsd-questions@FreeBSD.ORG Sun Apr 18 13:36:44 2004 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 9BF8416A4CE for ; Sun, 18 Apr 2004 13:36:44 -0700 (PDT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BA1943D46 for ; Sun, 18 Apr 2004 13:36:44 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i3IKaajw002949; Sun, 18 Apr 2004 13:36:37 -0700 From: Kent Stewart To: "antenneX" Date: Sun, 18 Apr 2004 13:36:40 -0700 User-Agent: KMail/1.6.1 References: <007401c42567$c2a307e0$0200000a@SAGEAME> <200404181117.43742.kstewart@owt.com> <007b01c42581$93ce3470$0200000a@SAGEAME> In-Reply-To: <007b01c42581$93ce3470$0200000a@SAGEAME> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404181336.40504.kstewart@owt.com> cc: Remko Lodder cc: freebsd-questions@freebsd.org Subject: Re: Lost expat dependency 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: Sun, 18 Apr 2004 20:36:44 -0000 On Sunday 18 April 2004 01:12 pm, antenneX wrote: > ----- Original Message ----- > From: "Kent Stewart" > To: > Cc: "antenneX" ; "Remko Lodder" > Sent: Sunday, April 18, 2004 1:17 PM > Subject: Re: Lost expat dependency > > > On Sunday 18 April 2004 10:22 am, Remko Lodder wrote: > > > antenneX wrote: > > > > It seems that when I updated to expat-1.95.7, it replaced some > > > > 1.95.5 dependencies needed for some other programs. For > > > > instance some daemons will not load (or update) because of this > > > > error: #Shared object "libintl.so.4" not found# > > > > or then some ".so" module cannot be loaded > > > > > > Did you use portupgrade to update it recursivly? then everythint > > > that had .5 as dep was reinstalled using .7 instead.. > > > > > > Perhaps you can (dirty solution) > > > > > > ln -s libintl.so.5 libintl.so.4 > > > in the directory wehere libintl.so.5 lives. > > > > The solution is in /usr/ports/UPDATING. They changed the interface > > and you have to portupgrade -rf expat. > > > > Kent > > > > > HTH > > > > > > > I updated the expat according the the instructions in > > > > /usr/ports/UPDATING. > > > > > > > > Any suggestions on how to fix this....??? > > > > > > > > Thanks! > > > > > > > > Jack > > > > -- > > Kent Stewart > > Richland, WA > > Kent: Indeed I had read UPDATING as my message stated, I used the: > #portupgrade -rf expat > ...but, some programs are making that same complaint and won't load. The libintl problem is a port that uses an old version of gettext. You may have to track them down one at a time. The libintl.so.4 is version 0.11.5. Libintl.so.5 is 0.12.1 and the current version is gettext-0.13.1_1, which is libintl.so.6. If you are lucky, you may find which one is doing it by using "pkg_info -R gettext". I would be surprised that a pkgdb -F wouldn't fix the links and let you update dependancies of gettext. Make sure you are using the current version of portupgrade and ruby. It seems to fix a lot of those problems. The upgrade to 0.12.1 suggested the following portupgrade -rf gettext -m BATCH=yes The BATCH tells it to upgrade everything without having you choose from a menu and probably still applies in your situation. There are a _LOT_ of ports that depend on gettext and you have to update each one of them :(. There were problems when they created gettext-old and promptly deleted it after they fixed ports that used it. It was easier to pkg_delete -f gettext-version and reinstall gettext and then run pkgdb -F to fix the links than it was to use portupgrade. I think portupgrade deals with that now but I wouldn't bet money. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html