linking libjava.so RPATH problem
doconnor at gsoft.com.au
Wed Jul 6 02:27:53 GMT 2005
On Wed, 6 Jul 2005 07:25, Tom Schutter wrote:
> 1) Why is the RPATH in the executable being ignored?
I think this is a feature, not a bug.. I forget the exact reason though - I am
pretty sure this has been discussed on the lists when ELF came in though.
> 2) When I add the -rpath, I get two copies of a libjvm.so reference in
> testme, one that resolves correctly, and one that doesn't. Why?
No idea :(
> 3) What is the correct way of linking in libjvm.so?
I would say you need to either add LD_LIBRARY_PATH to your env, or pass some
flags to ldconfig to add the path to the JVM libraries.
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050706/238ece5c/attachment.bin
More information about the freebsd-hackers