Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jun 2010 21:29:06 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Dominic Fandrey <kamikaze@bsdforen.de>
Cc:        autotools@freebsd.org, Yong-Jhen Hong <yongjhen@gmail.com>, Franci Nabalanci <lumiwa@gmail.com>, freebsd-ports@freebsd.org, gnome@freebsd.org, girgen@freebsd.org
Subject:   Re: issues unveiled by devel/gettext
Message-ID:  <4C072F92.2090500@FreeBSD.org>
In-Reply-To: <4C064D2F.607@bsdforen.de>
References:  <4C03D5EC.4050409@bsdforen.de>	<AANLkTinw0mfzyXKcQ6uI_DZ6cpWMYI4QUXO7kHagBeIp@mail.gmail.com>	<AANLkTimcpKVcshHSAvayRNTbBrQHRoGOceZQ-C3ZBF1W@mail.gmail.com> <4C064D2F.607@bsdforen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C072F92.2090500>