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

Library not loaded: liblept.5.dylib #403

Open
arrannn opened this issue Nov 7, 2023 · 0 comments
Open

Library not loaded: liblept.5.dylib #403

arrannn opened this issue Nov 7, 2023 · 0 comments

Comments

@arrannn
Copy link

arrannn commented Nov 7, 2023

Describe the bug
When installing and trying to use this on an M1 Mac, there is an issue with dependencies not being found. Specifically:
dyld[86379]: Library not loaded: /opt/homebrew/opt/leptonica/lib/liblept.5.dylib

Setup

  • Apple M1 Pro. Sonoma 14.1 (23B74)
  • Installed with go and with brew

To Reproduce
Steps to reproduce the behavior:

  1. Install vhs
  2. Run a tape

Solution
I made a copy of the following 3 files

  • /opt/homebrew/opt/leptonica/lib/libleptonica.6.dylib
  • /opt/homebrew/opt/leptonica/lib/libleptonica.a
  • /opt/homebrew/opt/leptonica/lib/libleptonica.dylib

and then renamed the copies to these respectively:

  • /opt/homebrew/opt/leptonica/lib/liblept.5.dylib
  • /opt/homebrew/opt/leptonica/lib/liblept.a
  • /opt/homebrew/opt/leptonica/lib/liblept.dylib
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

1 participant