Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sykhro opened this issue Aug 21, 2023 · 2 comments
Closed

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

sykhro opened this issue Aug 21, 2023 · 2 comments

Comments

@sykhro
Copy link

sykhro commented Aug 21, 2023

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
Copy link
Owner

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
Copy link
Author

sykhro commented Sep 12, 2023

Yup, works fine!

@sykhro sykhro closed this as completed Sep 12, 2023
arch1t3cht added a commit to TypesettingTools/Aegisub that referenced this issue Dec 3, 2023
arch1t3cht added a commit to TypesettingTools/Aegisub that referenced this issue Dec 3, 2023
CoffeeFlux pushed a commit to TypesettingTools/Aegisub that referenced this issue Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants