java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "getdtablesize"
See original GitHub issueHi there
My client run task with android target fails with the below link error:
E/AndroidRuntime(19668): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "getdtablesize" referenced by "/data/app/hello.hellodesktop-XiRilnh49ahx5XXKtJJqtg==/lib/arm64/libsubstrate.so"...
This specifically occurs when launching our enterprise jar with Assisted Configuration of Native Image Builds. I’m unfortunately unable to replicate the issue in a simple project
Env:
GraalVM CE 20.3.0-dev-20200814_0227 and it’s bundled Java 11
Ubuntu 16.04
Maven client plugin version 0.1.31
Any assistance would be greatly appreciated
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate ...
And I find symbol _ZNSt6__ndk17codecvtIcc9mbstate_tE2idE appears on the static library I build. I can not find reference of ndk in my source ...
Read more >java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate ...
UnsatisfiedLinkError : dlopen failed: cannot locate symbol "issetugid" referenced by "libmozglue.so"... E/AndroidRuntime( 7779): at java.lang.Runtime.
Read more >How to resolve dependency between .so libraries, the cannot ...
iwatcher-2/lib/arm/libgsl.so", RTLD_LAZY) failed: dlopen failed: cannot locate symbol "cblas_sdsdot" referenced by "libgsl.so"...
Read more >UnsatisfiedLinkError: dlopen failed: cannot locate symbol ...
test E/VLC/LibVLC: Can't load vlcjni library: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Unwind_Resume" referenced by ...
Read more >java.lang.UnsatisfiedLinkError: dlopen failed ... - photon forum
The app crashes with java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZNSt6__ndk15mutexD1Ev" referenced by ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ok, looks like it could be added via JMX. Your log shows
org.apache.log4j.jmxandorg.apache.logging.log4j.core.jmx. Is there a way you can easily remove these dependencies and test again?I took the following steps to resolve the issue:
I disabled log4j JMX with a system property as per log4j documentation
We were using async loggers in our project. I made sure to disable them by removing the async logging system property and the Disruptor dependency as per log4j documentation
client:build was now failing with a ClassNotFound error. I explicitly added back the now unused Disruptor dependency as per this issue