-
Notifications
You must be signed in to change notification settings - Fork 170
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
dlopen image not found #156
Comments
I suggest using my fork of packr as it has up-to-date jre paths and compiled binaries for java 8-13, you can let me know if it doesn't work. Java 14 hasn't even been released yet, but I hope it will be fine. |
Thank you! I will give it a try |
I forked the project as well, looks like a lot of us fixed the issue. I also applied other patches to make sure the executable works in the macOS hardened runtime on Catalina. |
@SakiiCode @karlsabo Hi, i have this error too, but I actually package a version 8 JDK. |
@Frotty No, it doesn't need to be in an app bundle. The executable and "jre" need to be in the same parent directory:
Technically, it's the working directory that matters. However you launch "your-executable" it needs to find a directory called "jre" relative to its working directory. E.g., the code looks for ./jre. Edit: Really it's the working directory |
My bad I misread the comment. |
I have no relation to libgdx or karlsabo. I stepped through all the changes in karlsabo's fork, and there's a lot of great improvements to various things, and best of all public CI running on win/mac/linux. Packr is a great project, very happy to see an active fork with cross-platform CI. |
This issue has been resolved with recent merges. Thanks everyone. |
Using openjdk14 I get a
"dlopen(jre/lib/jli/libjli.dylib): image not found"
error which fails the launch of the jvm.I think this is an error specifically for later jre's because when I look back at my jre 1.7.x it contains the file specified.
Any thoughts for solving this? Thanks
The text was updated successfully, but these errors were encountered: