Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2010 16:30:00 +0000 (UTC)
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/graphics/hugin Makefile
Message-ID:  <201002201630.o1KGU0KL013635@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
vd          2010-02-20 16:30:00 UTC

  FreeBSD ports repository

  Modified files:
    graphics/hugin       Makefile 
  Log:
  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
  
  Revision  Changes    Path
  1.43      +2 -1      ports/graphics/hugin/Makefile



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002201630.o1KGU0KL013635>