From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 28 12:35:12 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B73F2A7 for ; Wed, 28 Jan 2015 12:35:12 +0000 (UTC) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 221EFC97 for ; Wed, 28 Jan 2015 12:35:11 +0000 (UTC) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3kXPCg1bzYzZrj; Wed, 28 Jan 2015 13:25:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=mail; t=1422447917; x=1424262318; bh=C5snfYZoEyRsxJ1h0LxIO/z+74HnbTFtr3s0QR1gZvc=; b= PRJ16AZLuTvUt7BCz9+CUNw1h6QnYIw3d+ux9+l722Xtggbo2oeZvJ6oRLXwBIec 0K6kOITdxW1BjCk4pRxI6BUyA35tXz7Mo8lj12m4epU5ot3mYWUly+t4edIWfXYO qInxjBd9t98e3zclrtb5ZeW116Eu3FMdv7uhYotx7yg= Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id WQl7GOaJW9hd; Wed, 28 Jan 2015 13:25:17 +0100 (CET) Received: from marvin.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Wed, 28 Jan 2015 13:25:17 +0100 (CET) Message-ID: <54C8D52C.4010005@madpilot.net> Date: Wed, 28 Jan 2015 13:25:16 +0100 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Dirk Engling , FreeBSD Hackers Subject: Re: libbconv References: <54C8C0B6.6030306@erdgeist.org> In-Reply-To: <54C8C0B6.6030306@erdgeist.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2015 12:35:12 -0000 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