#51542: clang-3.8 and clang-3.9 fail to function due to rpath -------------------------------------+------------------------ Reporter: kenneth.f.cunningham@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.8 | -------------------------------------+------------------------ Comment (by kenneth.f.cunningham@…): and just installed a fresh copy of clang-3.8 on the same machine running 10.11.5 -- and it works perfectly without modification, and with what would appear to be the exact same output from otool . So it would seem to be a SnowLeopard thing, I guess. {{{ $ clang hello.c -o hello $ ls hello hello.c $ ./hello hello world $ otool -L /opt/local/libexec/llvm-3.8/bin/../lib/libLTO.dylib /opt/local/libexec/llvm-3.8/bin/../lib/libLTO.dylib: @rpath/libLTO.dylib (compatibility version 1.0.0, current version 3.8.0) @rpath/libLLVM.dylib (compatibility version 1.0.0, current version 3.8.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1) $ otool -l /opt/local/libexec/llvm-3.8/bin/../lib/libLTO.dylib | grep -A2 LC_RPATH cmd LC_RPATH cmdsize 32 path @loader_path (offset 12) -- cmd LC_RPATH cmdsize 40 path @executable_path/../lib (offset 12) }}} -- Ticket URL: <https://trac.macports.org/ticket/51542#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X