From owner-freebsd-ports@FreeBSD.ORG Sun Feb 23 10:59:53 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A89C31F for ; Sun, 23 Feb 2014 10:59:53 +0000 (UTC) Received: from nm6-vm6.access.bullet.mail.gq1.yahoo.com (nm6-vm6.access.bullet.mail.gq1.yahoo.com [216.39.63.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CCC3110F4 for ; Sun, 23 Feb 2014 10:59:52 +0000 (UTC) Received: from [216.39.60.167] by nm6.access.bullet.mail.gq1.yahoo.com with NNFMP; 23 Feb 2014 10:57:12 -0000 Received: from [67.195.23.148] by tm3.access.bullet.mail.gq1.yahoo.com with NNFMP; 23 Feb 2014 10:57:12 -0000 Received: from [127.0.0.1] by smtp120.sbc.mail.gq1.yahoo.com with NNFMP; 23 Feb 2014 10:57:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1393153032; bh=5dZaulW21B26ljlI1i85GrTNSYjK9BjqrFuyvYfe6VU=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:From:To:References:Subject; b=r7f9y9shFmsbyC4OLRqP5SsjNfK6bFn4k7fL2yoRdwX7w0dXRD2hMlM443MT8+t1fqEECyXe2X5w0hILz1I8kIYudp6H48EZbNYJPdClTzBggjX0FINz+K8kF2Unmb3Lur6+ccBAI7cHW2gCC0o0IXJZERLD+ducVlAprP9MoGg= X-Yahoo-Newman-Id: 847746.72638.bm@smtp120.sbc.mail.gq1.yahoo.com Message-ID: <847746.72638.bm@smtp120.sbc.mail.gq1.yahoo.com> Date: Sun, 23 Feb 2014 10:57:12 +0000 (UTC) X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: xaSF1fgVM1mWLHNpvLGc5BxVPIdzjDfuS3H5Z32y9BD3EsS N0RwC9bGq.kg0fhQIyjfeNuFeRqu0KszwcGnJQzg9UTdiPwaMsFm1rz0hffT zWo2Xja5d2ZFy59UMT2kB1fAWXpjLyIwSZeX6VshpWI6EDNVleOGJEYr8HLy 0ae71YphDKllC6cwRAtvQdd3Pq8rILva_5eTyVXaGTrZan4K5FHmT5rXeoBy DZ0gOQf9y3FAK0vnUYF5hhjG9lu7HJWu_EPTYpiRY585Ci7_MIdSz9qDfVh3 w1To_WymRmqd0MRbVatLXnBRabJTQT1lMHU2WkxRs11XBz5Q6IKIt18WIOdD Fc9WxW29zW2CrC9idIxXK8s.OCrI8zCiT24mT9r8ZzGh0B_aUTm3VoFFL3Na 1g89q6qWCvtTCXTDXQcmsqqbgDpedrd5mRvYH6AUxgG_fraE2qtjr2c9YhWq jp6hOiFoED1LVPdRvTEMWZfqXOFaTrijicwIuOdW99xEucagOub51iWfQcK6 s4K0hgf4ZKRzR68lWnlOBv2MewzWiqa4hb5jjFOZ6lGqrdJT7bXJlGFDhZu6 k.ajVJQrKPJgC_vuDzQKpc.fxudJjDJ.dx220qhuw3hC8BrjyWIPEJm3l4b0 Vx4va4pU_axIr84vmmLpiJ5YHcCztevO7VIdAXoB6A4DbcAys2LmVxkCD X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- X-Rocket-Received: from localhost (mueller6724@96.28.178.143 with plain [67.195.15.66]) by smtp120.sbc.mail.gq1.yahoo.com with SMTP; 23 Feb 2014 10:57:12 +0000 UTC From: "Thomas Mueller" To: freebsd-ports@freebsd.org References: <201402230851.s1N8pX2J066307@mech-cluster241.men.bris.ac.uk> Subject: Re: libiconv pulled in by pkg upgrade? lots of errors after that X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 10:59:53 -0000 > pkg upgrade pulled libiconv. > Now I get errors like: > # gphoto2 -l > /usr/local/lib/libgphoto2/2.5.3.1/ptp2.so: Undefined symbol "__bsd_iconv_open" > firefox > /usr/local/lib/firefox/libxul.so: Undefined symbol "__bsd_iconv_open" > If I delete libiconv, then I get: > firefox > XPCOMGlueLoad error for file /usr/local/lib/firefox/libxul.so: > Shared object "libiconv.so.3" not found, required by "libdbus-glib-1.so.2" > Couldn't load XPCOM. > so I probably now need to rebuild all these ports > manually: > [1/1] Deleting libiconv-1.14_1... > libiconv-1.14_1 is required by: glib-2.36.3_2 gobject-introspection-1.36.0_2 libIDL-0.8.14_1 polkit-0.105_1 cairo-1.10.2_7,2 pango-1.34.1_1 consolekit-0.4.3 > librsvg2-2.36.4 gconf2-2.32.0_3, deleting anyway > Anyway, I thought libiconv was gone for good > from ports, as it is available in base from 10. > I'm on 11-current, so not sure what's going on. > Thanks > Anton >From other posts on emailing lists, I see libiconv from ports supports utf-8, while base (>=10) does not. Now I want to know what would happen if I rebuild system with WITHOUT_ICONV=yes in /etc/src.conf and use libiconv from ports. Would it work, and would I have to rebuild all ports? Fortunately, I am not yet very advanced in building ports for FreeBSD 10-STABLE and 11-current. It seems including libiconv in base has adverse side effects, the two can clash when both base and ports libiconv are installed. Tom