[MacPorts] #68322: libgcc12 @12.3.0: ld: library not found for -ld_classic

MacPorts noreply at macports.org
Mon Oct 2 20:18:16 UTC 2023


#68322: libgcc12 @12.3.0: ld: library not found for -ld_classic
-----------------------+--------------------
  Reporter:  k6wx      |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:
      Port:  libgcc12  |
-----------------------+--------------------

Comment (by Dave-Allured):

 Okay.  All I can say now is that command option `-ld_classic` passed to
 any older version of the Xcode linker by any mechanism, has an exact
 explanation for "library not found".  `-ld_classic` is being
 misinterpreted as a library request of the form `-l${short_lib_name}`.
 Linker looks for `libd_classic.dylib` and does not find it.  This might
 not be the right explanation, but it is likely.

 Kristen, I suggest that in addition to updating your CLT, also `port
 selfupdate` before testing again.

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


More information about the macports-tickets mailing list