[MacPorts] #67893: hdf5 needs -D_GLIBCXX_USE_CXX11_ABI=0 (at least on older systems)
MacPorts
noreply at macports.org
Wed Aug 2 12:10:51 UTC 2023
#67893: hdf5 needs -D_GLIBCXX_USE_CXX11_ABI=0 (at least on older systems)
---------------------------+----------------------
Reporter: barracuda156 | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: hdf5 |
---------------------------+----------------------
Comment (by kencu):
it looks like hdf5 doesn’t build c++ by default…
https://github.com/macports/macports-
ports/blob/master/science/hdf5/Portfile
have you manually added the experimental c++ variant?
https://github.com/macports/macports-
ports/blob/818e6a772d912d74344f887f0a500e68feacb38f/science/hdf5/Portfile#L127
I don’t see a c++ standard set in the portfile, so there could be issues
if other ports that use the library do set one.
basically, libraries, and consumers of libraries, generally need to use a
matching c++ standard.
--
Ticket URL: <https://trac.macports.org/ticket/67893#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list