I am very new to this, so please bear with me if it is too basic. I am trying to run java based AWS lambda functions in GraalVM by using micronaut framework and following their guide from here.

I installed below in my Windows 10 PC.

  • GraalVM & native image
  • Docker desktop
  • Visual C++ 2019 build tools with "x64 Native Tools Command Prompt for VS 2019"
  • micronaut CLI

and trying to build a docker-graalvm-native-image by running below command in "x64 Native Tools Command Prompt for VS 2019",

mvnw package -Dpackaging=docker-native -Dmicronaut.runtime=lambda -Pgraalvm -X

but getting docker-java-stream-1594339478" java.lang.UnsatisfiedLinkError: Error looking up function 'write': The specified procedure could not be found error as shown in screenshot.

error screenshot full stack trace

I understood that some c/c++ library is missing, but I don't know that library's name, how to install it etc.

Please help.

0

There are 0 best solutions below