Skip to content

Conversation

@chadbrewbaker
Copy link

Load for homebrew MacOS ARM tesseract. Fixes #194

Load for homebrew MacOS ARM tesseract. Fixes nguyenq#194
@nguyenq
Copy link
Owner

nguyenq commented Dec 4, 2022

Are you sure this is a valid path JNA_LIBRARY_PATH+File.pathSeparator+"/opt/homebrew/lib/" as it would resolve to "jna.library.path:/opt/homebrew/lib/" ?

Tess4J relies on JNA to find and load native libraries, so we feel this issue is best addressed there to add this support.

https://github.com/java-native-access/jna/blob/master/src/com/sun/jna/NativeLibrary.java
https://github.com/java-native-access/jna/blob/master/src/com/sun/jna/Platform.java

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

Successfully merging this pull request may close these issues.

Homebrew installed Tesseract not detected by Tess4J

2 participants