[MacPorts] #66259: libvpx fails to build universal on Apple silicon

MacPorts noreply at macports.org
Thu Feb 9 07:50:36 UTC 2023


#66259: libvpx fails to build universal on Apple silicon
---------------------+--------------------
  Reporter:  Gcenx   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  libvpx  |
---------------------+--------------------

Comment (by kaamui):

 In fact the message was pretty clear : it fails because some of the libs
 it tries to link were for arm64 only.

 In my case, it was libavcodec and libvpx (arm64 only).

 You can check it using this command `lipo /opt/local/lib/<any_dylib>
 -info`

 Then, I only had to uninstall non universal ports and relaunch my initial
 command :

 {{{
 //some of the followings are probably useless, but in case I misunderstood
 what happened, here's everything I did
 sudo port uninstall ffmpeg
 sudo port uninstall ffmpeg +universal
 sudo port uninstall libvpx
 sudo port clean ffmpeg
 sudo port clean ffmpeg +universal

 sudo port install ffmpeg +universal
 }}}

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


More information about the macports-tickets mailing list