graal icon indicating copy to clipboard operation
graal copied to clipboard

-H:CLibraryPath is not documented the relation to LD_LIBRARY_PATH not clear

Open AdamBien opened this issue 3 years ago • 1 comments

Related issue: https://github.com/oracle/graal/issues/1393

Steps to reproduce the issue

Run the example: https://github.com/AdamBien/graalvm-hello-java-c and replace: -H:CLibraryPath with LD_LIBRARY_PATH. The example will break.

Describe GraalVM and your environment:

openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment GraalVM CE 22.3.0-dev (build 17.0.4+7-jvmci-22.3-b02) OpenJDK 64-Bit Server VM GraalVM CE 22.3.0-dev (build 17.0.4+7-jvmci-22.3-b02, mixed mode, sharing)

AdamBien avatar Jul 22 '22 15:07 AdamBien

Hi, I'm not sure I follow what is the issue. -H:CLibraryPath is the way to specify the libraries' path while building native-image

oubidar-Abderrahim avatar Jul 27 '22 11:07 oubidar-Abderrahim