From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 10:53:57 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 E2BE016A4CE for ; Tue, 11 Jan 2005 10:53:57 +0000 (GMT) Received: from yggdrasil.interstroom.nl (yggdrasil.interstroom.nl [80.85.129.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A7E543D1F for ; Tue, 11 Jan 2005 10:53:57 +0000 (GMT) (envelope-from o.greve@axis.nl) Received: from ip127-180.introweb.nl ([80.65.127.180] helo=[192.168.1.30]) by yggdrasil with asmtp (Exim 3.35 #1 (Debian)) id 1CoJel-0007om-00 for ; Tue, 11 Jan 2005 11:53:47 +0100 Message-ID: <41E3B040.4070709@axis.nl> Date: Tue, 11 Jan 2005 11:53:52 +0100 From: Olaf Greve User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <41B857A0.2070906@leg.ensieg.inpg.fr> <41DE7DA3.8060206@axis.nl> <20050107132423.GA47763@falcon.midgard.homeip.net> In-Reply-To: <20050107132423.GA47763@falcon.midgard.homeip.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Interstroom virusscan, please e-mail helpdesk@interstroom.nl for more information X-MailScanner-SpamCheck: Subject: libintl.so.5 issue when installing logrotate 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: Tue, 11 Jan 2005 10:53:58 -0000 Hi, I ran into a rather funny issue (fbsd 5.3-release, i386). I have an updated ports tree (that is: twice per week cron updates it using cvsup). Now, I tried installing /usr/ports/sysutils/logrotate (make install) O.k., it failed, mentioning that it required gettext version 0.13 or higher. No problem, just install that, right? O.k., so I installed /usr/ports/devel/gettext (make deinstall, make reinstall) All fine so far (it installef version 0.14.1). Then I tried again to make install the /usr/ports/sysutils/logrotate and again it failed, this time the error is: [...] ===> Building for logrotate-3.7_3 /libexec/ld-elf.so.1: Shared object "libintl.so.5" not found Hmmm, no what can that be? A quick look-up on Google shows: http://tomster.org/geek/freebsdcookbook/tidbits/gettextupgrade Nice, a "chicken and the egg" problem: logrotate requires gettext 0.13 or higher, but when installing that, apparently out goes a required library! Duh! The same page mentions the following: "The solution is to force the upgrade of the already currently installed version of gettext (by using the -f option) and doing the upgrade recursively (by using the -r option)." I guess this means doing a pkg_add -f -r as opposed to "make install-ing" the port, right? Now, before doing this (and possibly messing up the installation by doing a force install), has anyone already done this, and is this really the best solution? Tnx and cheerz, Olafo