diff options
author | vd <vd@FreeBSD.org> | 2010-02-21 00:30:00 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2010-02-21 00:30:00 +0800 |
commit | 279e427b7487afb1e7ccb2e52f73580b2fcc4e03 (patch) | |
tree | e3599d45536df5b3979ed15e9e07e13b9a2d1724 /graphics/hugin | |
parent | 85ac5d85bb181a3db9a008a770edf5ce4a3f7667 (diff) | |
download | freebsd-ports-gnome-279e427b7487afb1e7ccb2e52f73580b2fcc4e03.tar.gz freebsd-ports-gnome-279e427b7487afb1e7ccb2e52f73580b2fcc4e03.tar.zst freebsd-ports-gnome-279e427b7487afb1e7ccb2e52f73580b2fcc4e03.zip |
The error with GCC 4.4:
/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/local/bin/hugin not found
which I just fixed by using an older GCC is because
hugin-2009.4.0/src/hugin1/hugin/cmake_install.cmake includes this code:
FILE(RPATH_REMOVE
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/hugin")
which does remove the rpath setting -Wl,rpath=/usr/local/lib/gcc44 which was
injected by /usr/ports/Mk/bsd.gcc.mk and then /usr/lib/libstdc++.so.6 is
picked up instead of /usr/local/lib/gcc44/libstdc++.so.6
If we have to compile with GCC 4.4 some day, then we will have to
remove the above RPATH_REMOVE code from cmake files.
$ strings /usr/lib/libstdc++.so.6 |grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_FORCE_NEW
$ strings /usr/local/lib/gcc44/libstdc++.so.6 |grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
$
Feature safe: yes
Diffstat (limited to 'graphics/hugin')
-rw-r--r-- | graphics/hugin/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile index 1487f21ad707..dbdbdc6014f7 100644 --- a/graphics/hugin/Makefile +++ b/graphics/hugin/Makefile @@ -84,8 +84,9 @@ post-configure: .include <bsd.port.pre.mk> +# see the commit log message for Makefile rev 1.43 .if ${OSVERSION} < 700000 -USE_GCC= 4.4+ +USE_GCC= 4.2 .endif .if defined(WITH_PANOMATIC) |