From owner-freebsd-questions@FreeBSD.ORG Tue Mar 15 21:26: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 B218916A4CE for ; Tue, 15 Mar 2005 21:26:50 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CFA843D1D for ; Tue, 15 Mar 2005 21:26:50 +0000 (GMT) (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 j2FLQdQW011837; Tue, 15 Mar 2005 13:26:40 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Tue, 15 Mar 2005 13:26:46 -0800 User-Agent: KMail/1.7.2 References: <4236B40C.100@axis.nl> In-Reply-To: <4236B40C.100@axis.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503151326.46181.kstewart@owt.com> cc: Olaf Greve Subject: Re: Shared object "libintl.so.5" not found error when installinglogrotate port - how to solve this? 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, 15 Mar 2005 21:26:50 -0000 On Tuesday 15 March 2005 02:08 am, Olaf Greve wrote: > Hi all, > > I have run into a weird issue, which for some reason doesn't want to > get resolved. > > I am using FreeBSD 5.2.1 Release i386, and my ports tree is recent > (via /usr/local/bin/cvsup -g -L 2 /root/ports-supfile). > > However, when trying to install the logrotate port (i.e. version > logrotate-3.7_3 - located in /usr/ports/sysutils/logrotate/), I keep > getting the following error: > > ********************************************************************* >* millennics# make install > ===> Building for logrotate-3.7_3 > /libexec/ld-elf.so.1: Shared object "libintl.so.5" not found > *** Error code 1 > > Stop in /usr/ports/sysutils/logrotate. > ********************************************************************* >* > > Now, I tried perform a 'make clean' and a 'make depend' as well, but > all to no avail. > > Searching on the Internet suggests that this is due to 'gettext'. So, > I tried reinstalling that as well, but still, no luck. > > The installed gettext packages are: > ********************************************************************* >* millennics# pkg_info | grep gette > gettext-0.14.1 GNU gettext package > p5-gettext-1.03 Message handling functions > ********************************************************************* >* > > I guess this is basically o.k., right?!? No, you have the right version of gettext but you didn't address the problem. > > Soooooo, the question then winds down to how to resolve this. Can > anyone tell me how I can fix this problem? Well, you have a mix bag set of references to gettext. Ports you haven't rebuilt are still refering to the old library. The interface changed between .so.5 and .so.6 and you have to rebuild everything that uses libintl. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html