[MacPorts] #52002: lilypond build fails due to missing reference to libc++ on some Darwin systems - fix attached
MacPorts
noreply at macports.org
Wed Aug 17 07:54:13 PDT 2016
#52002: lilypond build fails due to missing reference to libc++ on some Darwin
systems - fix attached
-------------------------------------+--------------------
Reporter: kenneth.f.cunningham@… | Owner: snc@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: fixed | Keywords:
Port: lilypond |
-------------------------------------+--------------------
Comment (by ryandesign@…):
Replying to [comment:6 kenneth.f.cunningham@…]:
> I don't yet understand why it is needed for only some ports, though --
unless their configure scripts are just incorrectly / incompletely
written.
It would probably be their Makefiles which are incorrectly written.
> Isn't it the case that libc++ should be one of the 'automatically'
linked libraries, not usually needing to be specifically added? Perhaps
that is what lilypond and other ports are expecting. I don't know if
that's what the issue is here - some ports need this line added to link,
others do not. The same port installs on a different system without
modification to the portfile. Maybe with the libstdc++ and libc++
dichotomy on this libc++ upgraded machine, macports-clang-3.7++ is getting
"confused" about which standard libraries to automatically link in, and is
linking in the wrong one, or none?
The default C++ library would be automatically linked. libc++ isn't the
default C++ library on Snow Leopard.
The other system where it worked was also using Snow Leopard?
--
Ticket URL: <https://trac.macports.org/ticket/52002#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list