[MacPorts] #72091: ffmpeg: build fails: error: compiler does not work

MacPorts noreply at macports.org
Mon Mar 3 04:49:10 UTC 2025


#72091: ffmpeg: build fails: error: compiler does not work
------------------------+---------------------
  Reporter:  cgimenez   |      Owner:  mascguy
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.5
Resolution:  duplicate  |   Keywords:
      Port:  ffmpeg     |
------------------------+---------------------
Changes (by ryandesign):

 * status:  assigned => closed
 * resolution:   => duplicate


Comment:

 The ffmpeg config.log says the problem is:

 {{{
 ld: library not found for -ld_classic
 }}}

 According to the ffmpeg main.log, you have Xcode 15.x but command line
 tools 14.x. This mismatch, plus the fact that the port does not use the
 correct conditions for determining when to use `-ld_classic`, is the cause
 of the problem. You can avoid it by using a matched version of Xcode and
 command line tools (i.e. update your command line tools to 15.x or
 downgrade your Xcode to 14.x).

 So this ffmpeg problem is a duplicate of #70144.

 If you are also having problems with sqlite3, that would have a different
 cause.

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


More information about the macports-tickets mailing list