[MacPorts] #44062: root6: either make it work on 10.6 (or declare it broken)

MacPorts noreply at macports.org
Wed Jun 18 05:43:37 PDT 2014


#44062: root6: either make it work on 10.6 (or declare it broken)
----------------------+--------------------------------
  Reporter:  mojca@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:  snowleopard
      Port:  root6    |
----------------------+--------------------------------

Comment (by mojca@…):

 OK, I think I have found the culprit, but I probably need assistance to
 solve this.

 This works:
 {{{
 $ clang++-mp-3.4 test.cpp -o test -stdlib=libc++
 }}}
 but the following doesn't:
 {{{
 $ clang++-mp-3.4 test.cpp -o test -stdlib=libc++ -isysroot
 /Developer/SDKs/MacOSX10.6.sdk
 ld: library not found for -lc++
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

 The problem is that the `cmake` `PortGroup` adds
 {{{
 -DCMAKE_OSX_SYSROOT="/Developer/SDKs/MacOSX10.6.sdk" \
 -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6"
 }}}
 and so the build fails to find `libc++.dylib` in `/usr/lib`.

-- 
Ticket URL: <https://trac.macports.org/ticket/44062#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list