Error in pkg mgnt of libintl

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Dec 8 14:00:51 UTC 2014


On 12/08/14 13:39, andrew clarke wrote:
> On Mon 2014-12-08 14:23:22 UTC+0100, bastian-freebsd-ml at t6l.de (bastian-freebsd-ml at t6l.de) wrote:
> 
>> 109 # vim /etc/inetd.conf 
>> Shared object "libintl.so.9" not found, required by "vim"
>>
>> Looking into the lib dir, I revealed the existence of libintl.so.8.
>> I guess somehow a downgrade took place, byt I do not know why.
>>
>> To just help my self in quick and realy ugly way, I created a link,
>> libintl.so.9 -> libintl.so.8   which eventually made vim running agai.
>> (I am totally surpised by that working).

Yeah.  Usually the advice is *not* to do this sort of thing, as ABI
version numbers are incremented for good reason.  This is a special case
-- apart from anything else the ABI version here is going backwards...

>> Can you give me a hint how I can comprehensively solve this problem?
> 
> I can't explain the cause of your missing libintl.so.9, but out of
> curiosity I took a look at my 10.1-REL system, where evidently
> libintl.so.9 is already symlinked to libintl.so.8.
> 
> -rw-r--r--  1 root  wheel  104872 2014-12-05 14:17:38 /usr/local/lib/libintl.a
> lrwxr-xr-x  1 root  wheel      16 2014-12-05 14:17:38 /usr/local/lib/libintl.so -> libintl.so.8.1.2
> lrwxr-xr-x  1 root  wheel      16 2014-12-05 14:17:38 /usr/local/lib/libintl.so.8 -> libintl.so.8.1.2
> -rw-r--r--  1 root  wheel   55166 2014-12-05 14:17:37 /usr/local/lib/libintl.so.8.1.2
> lrwxr-xr-x  1 root  wheel      12 2014-12-05 14:17:38 /usr/local/lib/libintl.so.9 -> libintl.so.8
> 
> $ pkg which /usr/local/lib/libintl.so.9 
> /usr/local/lib/libintl.so.9 was installed by package gettext-runtime-0.19.3

This is a well-known problem to do with the split of the old gettext
port into gettext-runtime and gettext-tools.  The fix in UPDATING says
to 'pkg delete -f gettext' before you start.  However, seeing as you've
missed the opportunity to do that, you can fix things up now by:

   pkg install -f gettext-runtime

	Cheers,

	Matthew



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20141208/7a76b436/attachment.sig>


More information about the freebsd-questions mailing list