0

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.

4

1 回答 1

0

GPAC 维护者在这里。

在 OS X 上,您需要将 lib 复制到 lib 文件夹中,而不是 bin 文件夹中:sudo cp -R /Applications/GPAC.app/Contents/MacOS/lib/* /usr/local/lib

顺便说一句,我敦促您遵循官方文档

于 2021-07-18T11:36:42.700 回答