RPATHS in binaries
Omair Majid
omajid at redhat.com
Thu Jul 19 16:48:19 UTC 2012
Hi,
I was poking around the LD_LIBRARY_PATH change in the launchers. Joe
Darcy's blog post [1] was a great resource for this (thanks Joe!).
There's one thing I dont quite get and I was hoping someone could shed
some light on this.
Most of the binary launchers contain RPATHS to the jli lib:
$ readelf --dynamic java | grep RPATH
0x000000000000000f (RPATH) Library rpath:
[$ORIGIN/../lib/amd64/jli:$ORIGIN/../jre/lib/amd64/jli]
Is there a reason there is no RPATH entry that points to
$ORIGIN/../lib/amd64/ ?
Thanks,
Omair
[1] https://blogs.oracle.com/darcy/entry/purging_ld_library_path
More information about the build-dev
mailing list