-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
ld: library not found for -llept #248
Comments
the same to above
|
I solved this problem in this way
|
I am also getting this error |
fixed it by removing |
I had the same problem
|
Hello there
I am trying to install gosseract on a macbook m1 but I have the following error with
lept
libraryld: library not found for -llept
clang: error: linker command failed with exit code 1 (use -v to see invocation)
and this is the command line I use
LD_LIBRARY_PATH="-L/opt/homebrew/Cellar/leptonica/1.82.0/lib" CGO_CXXFLAGS="-I/opt/homebrew/Cellar/leptonica/1.82.0/include/ -I/opt/homebrew/Cellar/tesseract/5.1.0/include" go get -t github.com/otiai10/gosseract/v2
but despite my effort I do not see what is wrong here
Environment
go version go1.17 darwin/arm64
thank you for you help.
The text was updated successfully, but these errors were encountered: