From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 17:24:50 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 3C55116A4CE for ; Tue, 11 Jan 2005 17:24:50 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id D845B43D41 for ; Tue, 11 Jan 2005 17:24:49 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0F24E51461; Tue, 11 Jan 2005 09:24:49 -0800 (PST) Date: Tue, 11 Jan 2005 09:24:48 -0800 From: Kris Kennaway To: Olaf Greve Message-ID: <20050111172448.GB98271@xor.obsecurity.org> References: <41B857A0.2070906@leg.ensieg.inpg.fr> <41DE7DA3.8060206@axis.nl> <20050107132423.GA47763@falcon.midgard.homeip.net> <41E3B040.4070709@axis.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline In-Reply-To: <41E3B040.4070709@axis.nl> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: 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 17:24:50 -0000 --DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 11, 2005 at 11:53:52AM +0100, Olaf Greve wrote: > Hi, >=20 > I ran into a rather funny issue (fbsd 5.3-release, i386). >=20 > I have an updated ports tree (that is: twice per week cron updates it=20 > using cvsup). >=20 > Now, I tried installing /usr/ports/sysutils/logrotate (make install) >=20 > O.k., it failed, mentioning that it required gettext version 0.13 or high= er. >=20 > No problem, just install that, right? > O.k., so I installed /usr/ports/devel/gettext (make deinstall, make=20 > reinstall) >=20 > All fine so far (it installef version 0.14.1). >=20 > Then I tried again to make install the /usr/ports/sysutils/logrotate > and again it failed, this time the error is: > [...] > =3D=3D=3D> Building for logrotate-3.7_3 > /libexec/ld-elf.so.1: Shared object "libintl.so.5" not found >=20 > Hmmm, no what can that be? > A quick look-up on Google shows:=20 > http://tomster.org/geek/freebsdcookbook/tidbits/gettextupgrade >=20 > Nice, a "chicken and the egg" problem: logrotate requires gettext 0.13=20 > or higher, but when installing that, apparently out goes a required=20 > library! Duh! It's probably some other binary that is missing libintl.so.5 (you probably yanked it out from underneath when doing a previous upgrade - if you'd used portupgrade, this wouldn't have happened because it saves copies of the old libraries in case they're still in use). gmake is a likely candidate; you'd need to rebuild it. The libchk port will tell you if any other applications need to be rebuilt. Kris --DBIVS5p969aUjpLe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB5AvgWry0BWjoQKURAu28AKD3sG8jODVPHbJZVqduGh+jAOdGXgCgjBmL l2UHoqRyaeXgL9NF9wZgKu0= =aSJC -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe--