How to get full path linkage for the jvm shared library

Jim Laskey (Oracle) james.laskey at oracle.com
Thu Mar 2 13:17:29 UTC 2017


Need a different solution then, -rpath-link doesn’t work

-rpath gives me

	libjvm.so => /usr/lib/jvm/jre/lib/amd64/server/libjvm.so (0x00007f711fdaf000)

-rpath-link gives me

	libjvm.so => not found

— Jim



> On Mar 2, 2017, at 8:55 AM, Andrew Haley <aph at redhat.com> wrote:
> 
> On 02/03/17 12:53, Jim Laskey (Oracle) wrote:
>> Seems that -Wl,-rpath, does what I need.
> 
> -rpath is very dangerous.  -rpath-link is much better.
> 
> Andrew.
> 




More information about the build-dev mailing list