RPATHS in binaries
kelly.ohair at oracle.com
Thu Jul 19 17:54:33 UTC 2012
The java process does not need to have the runtime linker access anything from there as far as I know.
I think the launcher will dlopen() something from jre/lib/amd64, and I think all the libraries in the jre/lib/amd64
directory will have an RPATH of $ORIGIN.
On Jul 19, 2012, at 9:48 AM, Omair Majid wrote:
> I was poking around the LD_LIBRARY_PATH change in the launchers. Joe
> Darcy's blog post  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:
> Is there a reason there is no RPATH entry that points to
> $ORIGIN/../lib/amd64/ ?
>  https://blogs.oracle.com/darcy/entry/purging_ld_library_path
More information about the build-dev