Hi Devs,

Currently, the Install goal for a native executable copies all the native
libraries to the "lib" folder along with the executable.

This does work for many libraries which requires to be located under their
usual installation location. JVM is one such library.

I created a pull request <https://github.com/gradle/gradle/pull/249> to
address this by adding the parent folder of each of these libraries to the
LD_LIBRARY_PATH instead of copying, however I understand that this may not
be an acceptable solution (already breaks many existing test cases among
other issues).

A slightly less fundamental change to the current approach would be to
create a symbolic link to the library instead of copying. I have verified
that this works with JVM.

If there is no concern with this approach, I will resubmit the pull request
with this second approach.

Regards,
https://github.com/adityakishore/

Reply via email to