Skip to content

Instantly share code, notes, and snippets.

@ponkotuy
Created November 18, 2019 14:09
Show Gist options
  • Save ponkotuy/f84a582a5bf4f68ffcf5893463e7a17f to your computer and use it in GitHub Desktop.
Save ponkotuy/f84a582a5bf4f68ffcf5893463e7a17f to your computer and use it in GitHub Desktop.
alpineでadoptopenjdk11を動かしたときのlddのエラー
# ldd /jdk-11.0.5+10/bin/java
/lib64/ld-linux-x86-64.so.2 (0x7f6a45486000)
libz.so.1 => /lib/libz.so.1 (0x7f6a4546c000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f6a45486000)
libjli.so => /jdk-11.0.5+10/bin/../lib/jli/libjli.so (0x7f6a4525b000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f6a45486000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f6a45486000)
Error relocating /jdk-11.0.5+10/bin/../lib/jli/libjli.so: __strdup: symbol not found
Error relocating /jdk-11.0.5+10/bin/../lib/jli/libjli.so: __rawmemchr: symbol not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment