[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 16:52:07 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:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:  fixed       |   Keywords:  mountainlion
      Port:  cmake       |
-------------------------+--------------------------

Comment (by kencu):

 I am still confused by why this symbol was not found. cmake should be able
 to build without trouble using the cxx11 1.1 PortGroup. The undefined
 symbol should not have occurred. Using the cxx11 1.1 PG, cmake should have
 been linked against `/opt/local/lib/libstdc++.6.dylib` instead of
 `/usr/lib/libstdc++.6.dylib`.

 I have also seen issues with std::Hash before, but it was a while back and
 I couldn't fix it then. I think this is not the only example of this.

 I think this might underscore some other incompatibility with clang-5.0
 and gcc's libstdc++ / gcc7's headers that we have yet to resolve, and that
 might show up again somewhere.

--
Ticket URL: <https://trac.macports.org/ticket/55272#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list