Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Netty native build failure #1388

Closed
Kotlin-GDE opened this issue Dec 20, 2021 · 3 comments
Closed

Netty native build failure #1388

Kotlin-GDE opened this issue Dec 20, 2021 · 3 comments
Assignees
Labels
type: compatibility Native image compatibility issue
Milestone

Comments

@Kotlin-GDE
Copy link

hi

i use java 17.0.1, graalvm 21.3.0.r17-grl, spring boot 2.6.2-snapshot, when generate a native executable

java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty_tcnative_linux_x86_64, netty_tcnative_linux_x86_64_fedora, netty_tcnative_x86_64, netty_tcnative]
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 20, 2021
@sdeleuze
Copy link
Contributor

As usual, please provide a repro. Could you also share what OS are you using and if that happens with Naytive Build Tools only, Buildpacks only, or both.

@sdeleuze sdeleuze added the status: waiting-for-feedback We need additional information before we can continue label Dec 21, 2021
@sdeleuze sdeleuze added this to the 0.11.1 milestone Dec 21, 2021
@sdeleuze sdeleuze self-assigned this Dec 21, 2021
@sdeleuze sdeleuze removed the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 21, 2021
@sdeleuze
Copy link
Contributor

We see this error with Spring Boot 2.6.2-SNAPSHOT so this should be fixed before releasing 0.11.1. See for example https://ci.spring.io/teams/spring-native/pipelines/spring-native-0.11.x/jobs/build-key-samples-java11/builds/410.

@sdeleuze sdeleuze added type: compatibility Native image compatibility issue and removed status: waiting-for-feedback We need additional information before we can continue labels Dec 21, 2021
@sdeleuze sdeleuze changed the title Native executable build failure Netty native build failure Dec 21, 2021
@sdeleuze
Copy link
Contributor

sdeleuze commented Dec 21, 2021

Likely related to Netty 4.1.72.Final upgrade.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: compatibility Native image compatibility issue
Development

No branches or pull requests

3 participants