issues unveiled by devel/gettext

Doug Barton dougb at FreeBSD.org
Thu Jun 3 04:29:10 UTC 2010


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/



More information about the freebsd-ports mailing list