From owner-freebsd-stable@FreeBSD.ORG Sat Apr 4 14:22:17 2015 Return-Path: Delivered-To: stable@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 CC01FA6F for ; Sat, 4 Apr 2015 14:22:17 +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 80BB4E65 for ; Sat, 4 Apr 2015 14:22:16 +0000 (UTC) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3lK0gn49lPzZrM; Sat, 4 Apr 2015 16:21:57 +0200 (CEST) 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=1428157315; x=1429971716; bh=cPkeUGrQuERDCFyHaoVlar42CeqLmo29ydshfGS00q4=; b= P0EQxpmh03/UrMlqxRBJepHcQyqzdqcuQRGusWqtEbkYWFCFFvkP24EfohZXqtG6 flQZIq5htWwZY0QycCLmOVOVj7pJaWaIE6bdO/Bcn2P6XIFaH4R/ohOrAoEGKc88 GN7u9teWXbOBPb7v2Ba+AZui0V8y13nwn1Bh6FPhKsE= 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 aan1ZfBwTF1I; Sat, 4 Apr 2015 16:21:55 +0200 (CEST) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Sat, 4 Apr 2015 16:21:55 +0200 (CEST) Message-ID: <551FF383.6040505@madpilot.net> Date: Sat, 04 Apr 2015 16:21:55 +0200 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: jbtakk@iherebuywisely.com, stable Subject: Re: GLIBCXX errors, a very few ports don't run References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2015 14:22:17 -0000 On 04/04/15 14:11, Jeffrey Bouquet wrote: > > command: lnav -s > /usr/local/lib/gcc47/libstdc++.so.6: version GLIBCXX_3.4.20 required by /usr/local/bin/lnav not found > > Script done on Sat Apr 4 04:56:17 2015 > > > ........................................................................... > 10.1-STABLE r280322 > .............................................. > gcc-4.8... > gcc-ecj-4.5 > gcc47-4.7... > gcc49-4.9... > ............................................ > Anyone know of the best practices to trim down/reconfigure the set of compilers one has installed so the > GLIBCXX/libstdc issue which sometimes appears goes away eventually, or is remedied by a libmap.conf ? > ........................................... > Or any similar fix? I have seen this happen in certain situations. It's the dynamic linker which links them to the wrong libstdc++. In your case, it looks like you have various gcc ports installed, so various libstdc++. I think your best bet is removing all gcc ports and install just one (the default one is 4.8, but you could choose to keep 4.9 if it works fine for you) and reinstall any port missing libraries. Using ports you can use "pkg check -Bn" to look for missing libraries and rebuild such ports. This should make them all use the available gcc version ad resolve the conflict. Hope this helps. -- Guido Falsi