Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2015 13:25:16 +0100
From:      Guido Falsi <mad@madpilot.net>
To:        Dirk Engling <erdgeist@erdgeist.org>,  FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: libbconv
Message-ID:  <54C8D52C.4010005@madpilot.net>
In-Reply-To: <54C8C0B6.6030306@erdgeist.org>
References:  <54C8C0B6.6030306@erdgeist.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/28/15 11:57, Dirk Engling wrote:
> When upgrading my iconv I learnt that ports were suddenly missing
> libiconv.so.2, and when I took a look, I actually did not find it but a
> libbicon (notice the extra 'b').
> 
> ls /usr/local/lib/*iconv*
> -r--r--r--  1 root  wheel    61510 27 Dez 14:07 libbiconv.a
> lrwxr-xr-x  1 root  wheel       14 27 Dez 14:07 libbiconv.so ->
> libbiconv.so.2
> -r--r--r--  1 root  wheel    26136 27 Dez 14:07 libbiconv.so.2
> -r--r--r--  1 root  wheel    64970 27 Dez 14:07 libbiconv_p.a
> -rw-r--r--  1 root  wheel  1116336  7 Mai  2014 libiconv.a
> -r--r--r--  1 root  wheel      916  7 Mai  2014 libiconv.la
> lrwxr-xr-x  1 root  wheel       13  7 Mai  2014 libiconv.so -> libiconv.so.3
> -r--r--r--  1 root  wheel  1088983  7 Mai  2014 libiconv.so.3
> 
> Is this intended?

You have a strange library layout, which is definitely different from
the one I'm seeing usually. This is what you should have, with recent
ports/packages:

/usr/local/lib [0]# ll *iconv*
-rw-r--r--  1 root  wheel  1107752 Dec 11 18:50 libiconv.a
lrwxr-xr-x  1 root  wheel       17 Dec 11 18:50 libiconv.so@ ->
libiconv.so.2.5.1
lrwxr-xr-x  1 root  wheel       17 Dec 11 18:50 libiconv.so.2@ ->
libiconv.so.2.5.1
-rw-r--r--  1 root  wheel  1072522 Dec 11 18:50 libiconv.so.2.5.1
lrwxr-xr-x  1 root  wheel       13 Dec 11 18:50 libiconv.so.3@ ->
libiconv.so.2


Have you tried rebuilding the libiconv port? Just to make sure you have
the correct files.

Also you could run "pkg which /usr/local/lib/libbiconv.so.2" and see
which package installed that one. I suspect that that libbiconv library
there has been installed by some other port and is unrelated.

-- 
Guido Falsi <mad@madpilot.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54C8D52C.4010005>