[MacPorts] #51552: Page LibcxxOnOlderSystems: some help with "uninstall all ports that use C++"

MacPorts noreply at macports.org
Sat Jun 4 19:03:46 PDT 2016


#51552: Page LibcxxOnOlderSystems: some help with "uninstall all ports that use
C++"
----------------------------+--------------------------------
  Reporter:  tamas.fulop@…  |      Owner:  macports-tickets@…
      Type:  enhancement    |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  wiki           |    Version:
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+--------------------------------
Changes (by ryandesign@…):

 * component:  guide => wiki


Comment:

 It's not easy to provide additional guidance. MacPorts does not know which
 ports use C++, so it's difficult to help you identify them. One way would
 be: for each file the port installed (i.e. the output of `port -q
 contents`), check `otool -L` to see if the file links with libc++ or
 libstdc++. If it does, that port uses C++. Since it is difficult to
 identify which ports use C++ and just uninstall them, it's simpler to
 uninstall all ports, then reinstall the ones you want.

 I wouldn't immediately exclude the possibility of upgrading your OS. In my
 opinion, that would be the best way to proceed, if your Mac supports it.
 It looks like all Macs that support 10.8 can be upgraded to 10.9, 10.10 or
 10.11, and it's free to do so. There are a handful of older Macs that
 cannot be upgraded past 10.7; if you're using one of those, then you'll
 have to continue on with the wiki page instructions.

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


More information about the macports-tickets mailing list