Replies: 2 comments 3 replies
-
CC @Homebrew/linux |
Beta Was this translation helpful? Give feedback.
2 replies
-
I think that use-case is not really supported. I think we did not get many requests for this. The only solution I see is to recompile / reinstall |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
Hi,
I am trying to use to use a java library called JWM. This library provides a native library (and jni bindings) that use X11 and OpenGL. When starting my app I get an error:
/tmp/skija_0.109.1_x64/libskija.so: libGL.so.1: cannot open shared object file: No such file or directory
From what I understand it's because the openjdk installed by homebrew will only look for shared libs that homebrew installed itself. For instance If I
brew unlink openjdk
that app will start fine using the openjdk installed with apt.I tried
brew install mesa
but thenlibXcursor.so.1
is missing.brew install libxcursor
then it'slibGLX.so.0
that's missing...Is there a way to tell the brew installed openjdk to look for shared libs in what's installed by the system (apt in my case)?
Cheers,
Beta Was this translation helpful? Give feedback.
All reactions