arch1t3cht / Aegisub

Cross-platform advanced subtitle editor, with new feature branches. Read the README on the feature branch.
http://www.aegisub.org
Other
738 stars 32 forks source link

Prebuilt does not start on macOS due to missing libraries #77

Closed sykhro closed 12 months ago

sykhro commented 1 year ago

As per title:

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/libwebp.7.dylib
Referenced from: <D91B0FA0-0CD2-38B2-B51D-4362837E67FB> /Applications/Aegisub.app/Contents/MacOS/libwebpmux.3.0.12.dylib
Reason: tried: '/Applications/Aegisub.app/Contents/MacOS/../lib/libwebp.7.dylib' (no such file), '/usr/local/lib/libwebp.7.dylib' (no such file), '/usr/lib/libwebp.7.dylib' (no such file, not in dyld cache)Library not loaded: @rpath/libsharpyuv.0.dylib
Referenced from: <B9EF469E-A89C-3C11-8304-D3ABEED40E36> /Applications/Aegisub.app/Contents/MacOS/libwebp.7.1.7.dylib
Reason: tried: '/Applications/Aegisub.app/Contents/MacOS/../lib/libsharpyuv.0.dylib' (no such file), '/usr/local/lib/libsharpyuv.0.dylib' (no such file), '/usr/lib/libsharpyuv.0.dylib' (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)

it can probably be worked around by installing those from brew (provided they exist)

arch1t3cht commented 12 months ago

This was because the upstream libraries started to use @rpath, which the library remapping script didn't handle.

@sykhro I pushed what should hopefully be a fix. Can you try if the dmg build here (once it's done building) works for you?

sykhro commented 12 months ago

Yup, works fine!