#44716: cmake @3.0.0_3 - Linking fails with OSX 10.4 and Xcode 2.5 ---------------------------+-------------------------------- Reporter: lars.haulin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: cmake ---------------------------+-------------------------------- The path to the dependencies of every dynamic library gets prefixed with "/Developer/SDKs/MacOSX10.4u.sdk". Excerpt from main.log (full log attached) {{{ :info:build Linking CXX executable ../bin/ccmake :info:build /usr/bin/ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/liblzo2.2.dylib referenced from: /opt/local/lib/libarchive.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) }}} The library libarchive.dylib seems to be correct though: {{{ $ otool -vL /opt/local/lib/libarchive.dylib /opt/local/lib/libarchive.dylib: /opt/local/lib/libarchive.13.dylib (compatibility version 15.0.0, current version 15.2.0) time stamp 1408525378 Wed Aug 20 11:02:58 2014 /opt/local/lib/liblzo2.2.dylib (compatibility version 3.0.0, current version 3.0.0) time stamp 1408525226 Wed Aug 20 11:00:26 2014 /opt/local/lib/liblzma.5.dylib (compatibility version 6.0.0, current version 6.5.0) time stamp 1408488511 Wed Aug 20 00:48:31 2014 /opt/local/lib/libcharset.1.dylib (compatibility version 2.0.0, current version 2.0.0) time stamp 1408483786 Tue Aug 19 23:29:46 2014 /opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.6) time stamp 1408489178 Wed Aug 20 00:59:38 2014 /opt/local/lib/libxml2.2.dylib (compatibility version 12.0.0, current version 12.1.0) time stamp 1408525105 Wed Aug 20 10:58:25 2014 /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8) time stamp 1408488528 Wed Aug 20 00:48:48 2014 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.11) time stamp 1393884570 Mon Mar 3 23:09:30 2014 /opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0) time stamp 1408483847 Tue Aug 19 23:30:47 2014 /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) time stamp 1177055105 Fri Apr 20 09:45:05 2007 $ }}} -- Ticket URL: <https://trac.macports.org/ticket/44716> MacPorts <http://www.macports.org/> Ports system for OS X