From owner-freebsd-ports@FreeBSD.ORG Tue Sep 15 10:03:30 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F809106566B for ; Tue, 15 Sep 2009 10:03:30 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 187138FC0A for ; Tue, 15 Sep 2009 10:03:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 52FE790008; Tue, 15 Sep 2009 11:46:03 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vL0QxWG9ZgdT; Tue, 15 Sep 2009 11:46:03 +0200 (CEST) Received: from janh.freebsd (privat-139jes.math.uni-hamburg.de [134.100.221.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id F3083900FA; Tue, 15 Sep 2009 11:46:02 +0200 (CEST) Message-ID: <4AAF6267.6080706@janh.de> Date: Tue, 15 Sep 2009 11:46:15 +0200 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.23 (X11/20090904) MIME-Version: 1.0 To: Maho NAKATA References: <20090914.105527.737004071327869963.chat95@mac.com> <4AAEC62D.9000007@janh.de> <20090915.093855.737004071327863653.chat95@mac.com> In-Reply-To: <20090915.093855.737004071327863653.chat95@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Joey Mingrone , ports-list freebsd Subject: Re: FreeBSD Port: octave-3.2.2_5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2009 10:03:30 -0000 Maho NAKATA wrote: > From: Jan Henrik Sylvester >> Maho NAKATA wrote: >>> From: Joey Mingrone >>>> I'm having some trouble upgrading this port. >>>> % uname -a >>>> FreeBSD ... 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Wed May 6 12:48:08 ... >>>> i386 >>>> Here's the error in the build: >>>> making gendoc.cc >>>> g++44 -O2 -fno-strict-aliasing -pipe -I/usr/local/include >>>> -I/usr/local/include -o gendoc gendoc.cc -L/usr/local/lib -pthread >>>> making DOCSTRINGS >>>> /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 >>>> required by ./gendoc not found >>> Hi Joey, I also noticed that Gerald has updated GCC43 to GCC44. >>> you should recompile all ports... >>> thanks >> I hit the same error on 7.2-RELEASE. I did recompile all Fortran >> dependencies with gcc44 and removed gcc43, still the error persists. >> >> Having recompiled just gendoc.cc with gcc42 from base, I was able to >> finish the build, but running octave does not work, either: >> >> /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 >> required by /usr/local/lib/octave-3.2.2/liboctinterp.so not found >> >> Since liboctinterp.so was compiled with gcc44 and not with gcc from >> base, I guess it should not try to load /usr/lib/libstdc++.so.6 but >> /usr/local/lib/gcc44/libstdc++.so.6 -- or am I wrong? >> >> Any idea besides recompiling "all ports"? I really do not see the >> point in that, since nothing but the Fortran ports should use >> gcc44. Maybe, I do not understand the dynamic linking with multiple >> gcc versions involved after all. > I think there is no better way to do recomple whole ports :-O > I guess that's why gerald@ did before the ports freeze and we will > have a newer (better bug free, I believe) FORTRAN compiler. After running 'ldconfig /usr/local/lib/gcc44/ /usr/local/lib/', I was able to run octave. Actually, I am really not sure what I am doing here. Do you really think recompiling all ports would cure my system or is octave simply looking at the wrong directories for libraries? Thanks, Jan Henrik