-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
jre/lib/s390x/compressedrefs/libjvm.so missing libdl reference #25
Comments
@nealef Can you give us the output of |
|
both of which reference libdl.so:
|
True, but unfortunately tools like cmake's find_library() macro will find it ahead of the others. So building things like hadoop 3.2.0 will be problematic against the openj9 variant. |
I suggest that is a bug in cmake. |
It can be coded around in a cmake receipt by specifying the search order. However, what I had liked about Adopt openjdk was that it didn't matter if you were using hotspot or openj9 things would just work. Now we have to add exceptions in existing package builds to use it. That means generating PRs that maintainers may or may not want to apply. Does the |
eclipse-openj9/openj9#7355 proposes that it be renamed. |
Perfect! Thank you so much. |
Problems have been found trying to do this across platforms as per eclipse-openj9/openj9#7380 (comment) so this fix is still on hold |
We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. |
Still open upstream |
We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. |
Still open upstream |
We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. |
As this has been reported upstream I'm closing this issue |
Platform:
Linux
Architecture:
s390x
The libjvm.so found in the java-8 compressedrefs directory doesn't reference libdl so that linking against it results in unresolved references to things like dlopen. Adding -ldl circumvents this but the other libjvm.so that are part of the tarball have been linked against the library:
Is there a reason for this difference? Although it can be circumvented building packages like hadoop requires changes to the canonical sources which is never a great thing to have to do and doesn't happen when using the standard java-1.8.0-openjdk that comes with the distros.
The text was updated successfully, but these errors were encountered: