From: Dominic Fandrey on
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

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.

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Doug Barton on
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/

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Doug Barton on
On 06/02/10 21:29, Doug Barton wrote:
>
> 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/

Oy, sorry, didn't think that all the way through. Instead of 'mv' it
should be 'cp,' then:
cd /usr/ports/devel/gettext
make clean ; make
pkg_delete gettext*
make install clean

THEN:

> /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/

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: jhell on
On 06/03/2010 00:35, Doug Barton wrote:
> On 06/02/10 21:29, Doug Barton wrote:
>>
>> 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/
>
> Oy, sorry, didn't think that all the way through. Instead of 'mv' it
> should be 'cp,' then:
> cd /usr/ports/devel/gettext
> make clean ; make
> pkg_delete gettext*
> make install clean
>
> THEN:
>
>> /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.
>>
>

I agree about both options but just as likely whether it be libmap.conf
or a path in far distant directory usr/local/lib/compat/pkg/* are
equally just as easy to be forgotten IMO. Though I do not know off the
top of my head whether portmaster or any of the other utils look at
removing files from the compat/pkg directory either which is why I state
the previous.

This brought me to the thought of a periodic check that would check for
the existence of libmap.conf and usr/local/compat/pkg and display the
contents or just warn of those being there and possibly populated.

Anyhow regards,

--

jhell
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"