From owner-freebsd-ports@FreeBSD.ORG Thu Jun 3 04:29:09 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0768106567A for ; Thu, 3 Jun 2010 04:29:09 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6CC688FC19 for ; Thu, 3 Jun 2010 04:29:09 +0000 (UTC) Received: (qmail 19832 invoked by uid 399); 3 Jun 2010 04:29:08 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 3 Jun 2010 04:29:08 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C072F92.2090500@FreeBSD.org> Date: Wed, 02 Jun 2010 21:29:06 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Dominic Fandrey References: <4C03D5EC.4050409@bsdforen.de> <4C064D2F.607@bsdforen.de> In-Reply-To: <4C064D2F.607@bsdforen.de> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: autotools@freebsd.org, Yong-Jhen Hong , Franci Nabalanci , freebsd-ports@freebsd.org, gnome@freebsd.org, girgen@freebsd.org Subject: Re: issues unveiled by devel/gettext X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 04:29:10 -0000 On 06/02/10 05:23, Dominic Fandrey wrote: > On 02/06/2010 11:28, Yong-Jhen Hong wrote: >> What I do on this issue is: >> cd /usr/local/lib >> ln -s libintl.so.9 libintl.so.8 Really really a bad idea. > This is never, ever necessary. > Links are prone to be forgotten, this is why you add this kind of > hack into the /etc/libmap.conf file instead. Slightly less bad, but still likely to be forgotten. One also has to assume that if the folks who write the shared lib chose to bump the version number it was for a good reason. That's not always true, but it's true more often than it is not. A better suggestion would be to do this: mkdir -p /usr/local/lib/compat/pkg cd /usr/local/lib mv libgettextpo.so.4 and libintl.so.8 /usr/local/lib/compat/pkg/ /etc/rc.d/ldconfig start Then go about rebuilding your ports in an orderly manner until those libraries are no longer needed, at which point you can delete them. hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/