[MacPorts] #72000: bsc hardcodes libc++: ld: library not found for -lc++

MacPorts noreply at macports.org
Wed Feb 5 15:17:03 UTC 2025


#72000: bsc hardcodes libc++: ld: library not found for -lc++
---------------------------+------------------------
  Reporter:  barracuda156  |      Owner:  i0ntempest
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:
      Port:  bsc           |
---------------------------+------------------------

Comment (by ryandesign):

 This happens because the Makefile uses `CC` when linking the shared
 library, which is composed of objects built from C++ code. It can be fixed
 by linking using `CXX` instead and removing the part in the Portfile that
 manually adds `-lc++`.

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


More information about the macports-tickets mailing list