temurin-build: qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
What are you trying to do?
temurin-build % ./makejdk-any-platform.sh --docker --clean-docker-build --create-jre-image jdk11u
Expected behaviour:
Build continues.
Observed behaviour:
Build breaks.
I get the following error:
Searching for JDK_BOOT_DIR
Guessing JDK_BOOT_DIR: /usr/lib/jvm/jdk11
If this is incorrect explicitly configure JDK_BOOT_DIR using --jdk-boot-dir
[ERROR] The BOOT_JDK_VERSION_NUMBER was not found. Likelihood is that the boot jdk settings properties don't contain a java.specification.version...
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
Any other comments:
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 27 (17 by maintainers)
You are doing great, thanks so much for your help 😃
Slightly surprised it comes out that large since they’re typically under 50Mb, but check out https://blog.adoptium.net/2021/10/jlink-to-produce-own-runtime/ (which is often a better way to produce something comparable to a JRE than using our own - we only switched the JRE production back on for ater versions because so many of our users demanded eit)
Our primary docs do exactly that and tell people to use makejdk-any-platform.sh, so yes the expectation is that it should work with the default options in a user environment. Option 1 would also have been consistent with how we add
--create-jre-image
After commenting another two blocks, it worked, thanks a lot!
@kerner1000 Can you try with https://github.com/adoptium/temurin-build/blob/ed9419f1484d0ce791ee69afc7bab560a6ac98ab/docker/dockerfile-generator.sh#L303 in your copy of temurin-build changed from
x64
toaarch64
in the API call?Same for this line in the same file: https://github.com/adoptium/temurin-build/blob/ed9419f1484d0ce791ee69afc7bab560a6ac98ab/docker/dockerfile-generator.sh#L337