简体   繁体   中英

Issue installing MP4Box: “image not found Abort trap: 6”

I installed GPAC on a mac running OSX 10.13, and then followed a tutorial to install MP4box by doing:

 sudo cp /Applications/GPAC.app/Contents/MacOS/MP4Box /usr/local/bin
 sudo cp -R /Applications/GPAC.app/Contents/MacOS/lib/* /usr/local/bin
 MP4Box

But in response I got:

dyld: Library not loaded: @executable_path/lib/libgpac.dylib
  Referenced from: /usr/local/bin/MP4Box
  Reason: image not found
Abort trap: 6

I checked and libgpac.dylib is definitely in bin, so what happened? What do I do? Any advice would be appreciated. Thanks in advance.

GPAC maintainer here.

On OS X you need to copy the lib in the lib folder, not the bin one: sudo cp -R /Applications/GPAC.app/Contents/MacOS/lib/* /usr/local/lib

By the way I urge you to follow the official doc .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM