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 <a...@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. >