[MacPorts] #55272: cmake @3.9.5: dyld: lazy symbol binding failed: Symbol not found: __ZSt11_Hash_bytesPKvmm
MacPorts
noreply at macports.org
Wed Nov 8 01:38:20 UTC 2017
#55272: cmake @3.9.5: dyld: lazy symbol binding failed: Symbol not found:
__ZSt11_Hash_bytesPKvmm
--------------------------+-----------------------
Reporter: ryandesign | Owner: michaelld
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: mountainlion | Port: cmake
--------------------------+-----------------------
The cmake 3.9.5 binary produced by the 10.8 buildbot worker does not run
on my 10.8 test system:
{{{
$ sudo port -n upgrade --force cmake
Password:
---> Fetching archive for cmake
---> Attempting to fetch cmake-3.9.5_0.darwin_12.x86_64.tbz2 from
https://packages.macports.org/cmake
---> Attempting to fetch cmake-3.9.5_0.darwin_12.x86_64.tbz2.rmd160 from
https://packages.macports.org/cmake
---> Computing dependencies for cmake
---> Deactivating cmake @3.9.5_0
---> Cleaning cmake
---> Uninstalling cmake @3.9.5_0
---> Cleaning cmake
---> Computing dependencies for cmake
---> Installing cmake @3.9.5_0
---> Activating cmake @3.9.5_0
---> Cleaning cmake
---> Updating database of binaries
---> Scanning binaries for linking errors
---> Found 5 broken files, matching files to ports
---> Found 1 broken port:
cmake @3.9.5
/opt/local/bin/ccmake
/opt/local/bin/cmake
/opt/local/bin/cmakexbuild
/opt/local/bin/cpack
/opt/local/bin/ctest
$ cmake --version
dyld: lazy symbol binding failed: Symbol not found:
__ZSt11_Hash_bytesPKvmm
Referenced from: /opt/local/bin/cmake
Expected in: /usr/lib/libstdc++.6.dylib
dyld: Symbol not found: __ZSt11_Hash_bytesPKvmm
Referenced from: /opt/local/bin/cmake
Expected in: /usr/lib/libstdc++.6.dylib
Trace/BPT trap: 5
$
}}}
After rebuilding from source, it works:
{{{
$ sudo port -ns upgrade --force cmake
---> Computing dependencies for cmake
---> Fetching distfiles for cmake
---> Attempting to fetch cmake-3.9.5.tar.gz from
https://distfiles.macports.org/cmake
---> Verifying checksums for cmake
---> Extracting cmake
---> Applying patches to cmake
---> Configuring cmake
---> Building cmake
---> Staging cmake into destroot
---> Deactivating cmake @3.9.5_0
---> Cleaning cmake
---> Uninstalling cmake @3.9.5_0
---> Cleaning cmake
---> Computing dependencies for cmake
---> Installing cmake @3.9.5_0
---> Activating cmake @3.9.5_0
---> Cleaning cmake
---> Updating database of binaries
---> Scanning binaries for linking errors
---> No broken files found.
$ cmake --version
cmake version 3.9.5
CMake suite maintained and supported by Kitware (kitware.com/cmake).
$
}}}
I don't know if this affects other OS versions; Mountain Lion is just
where I experienced it.
--
Ticket URL: <https://trac.macports.org/ticket/55272>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list