Date: Tue, 15 Sep 2009 00:39:41 +0200 From: Jan Henrik Sylvester <me@janh.de> To: Maho NAKATA <chat95@mac.com> Cc: Joey Mingrone <joey@mingrone.org>, ports-list freebsd <freebsd-ports@freebsd.org> Subject: Re: FreeBSD Port: octave-3.2.2_5 Message-ID: <4AAEC62D.9000007@janh.de> References: 20090914.105527.737004071327869963.chat95@mac.com
next in thread | raw e-mail | index | archive | help
Maho NAKATA wrote: > From: Joey Mingrone <joey at mingrone.org> >> 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. Cheers, Jan Henrik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AAEC62D.9000007>