From owner-freebsd-questions@FreeBSD.ORG Thu Nov 7 17:24:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D9971E13 for ; Thu, 7 Nov 2013 17:24:50 +0000 (UTC) (envelope-from lolox@lolox.net) Received: from altenberg.lolox.net (unknown [IPv6:2001:41d0:2:17c5::]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 97B152FAA for ; Thu, 7 Nov 2013 17:24:50 +0000 (UTC) Received: from altenberg.lolox.net (localhost [127.0.0.1]) by altenberg.lolox.net (Postfix) with ESMTP id C868C7F3F9 for ; Thu, 7 Nov 2013 18:24:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lolox.net; h= content-transfer-encoding:content-type:content-type:mime-version :x-mailer:message-id:subject:subject:from:from:date:date :received:received; s=lolox; t=1383845078; bh=loyNAd2xi+Shtb3K2r sYKnri5l2mg/bJRipPnsPe0OQ=; b=fApNk0KDjPheVfmWQlt1Bh2sKOfZ3ohRTO CFsPjQm/fTB0tBtcOSkxqY5M5Fz0jcyJPgRGKguEValHf/Mi+zwWAnRa2wPyovyG qguV93LDNxA0i841pLFl8VJW6TEMsHdePL5g66xwMKvp81M2iNE4s3RCentMCWLt rN/Bgz9qs= X-Virus-Scanned: Mailstorm at lolox.net Received: from altenberg.lolox.net ([127.0.0.1]) by altenberg.lolox.net (altenberg.lolox.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id g2aBS3Tm3aLL for ; Thu, 7 Nov 2013 18:24:38 +0100 (CET) Received: from linux-ll0t.site (unknown [31.36.56.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: lolox@lolox.net) by altenberg.lolox.net (Postfix) with ESMTPSA id 7E91E7F386 for ; Thu, 7 Nov 2013 18:24:38 +0100 (CET) Date: Thu, 7 Nov 2013 18:24:36 +0100 From: lolox To: Liste FreeBSD Subject: libmap.conf Message-ID: <20131107182436.26f044c2@linux-ll0t.site> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2013 17:24:50 -0000 Hi, I switched to gcc4.6 recently, and I encountered a problem while updating the cmake port: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/ports/devel/cmake/work/cmake-2.8.12/Bootstrap.cmk/cmake not found" Before that, I followed a guide explaining what to do when updating gcc that said to put at least: Libstdc++.so.6 gcc46/libstdc++.so.6 in /etc/libmap.conf But obviously, that didn't helped. A 'locate libstdc++.so' gives me this: /usr/lib/libstdc++.so /usr/lib/libstdc++.so.6 /usr/lib32/libstdc++.so /usr/lib32/libstdc++.so.6 /usr/local/lib/compat/pkg/libstdc++.so.6 /usr/local/lib/gcc42/libstdc++.so /usr/local/lib/gcc42/libstdc++.so.6 /usr/local/lib/gcc46/libstdc++.so /usr/local/lib/gcc46/libstdc++.so.6 /usr/local/lib/gcc46/libstdc++.so.6-gdb.py I tried to rename /usr/lib/libstdc++.so.6 just to try if it changed anything, and, surprise! That WORKED! So, my question is: Isn't libmap.conf supposed to do the trick without doing this horrible hack? Did I miss anything? Thanks in advance. lolox