Date: Wed, 6 Jul 2005 11:57:46 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-hackers@freebsd.org, Tom Schutter <tom.schutter@gmail.com> Subject: Re: linking libjava.so RPATH problem Message-ID: <200507061157.46921.doconnor@gsoft.com.au> In-Reply-To: <af36cf9705070514554e26356d@mail.gmail.com> References: <af36cf9705070514554e26356d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2215759.r7xFxdE9dY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 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 som= e=20 flags to ldconfig to add the path to the JVM libraries. =2D-=20 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 --nextPart2215759.r7xFxdE9dY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCy0Gi5ZPcIHs/zowRApHGAJ4kb4NVd+sKeid1ddpA1qY697B1mQCeJ2Ov 6wjv5XB4ONo7d49fScNyQWE= =xSLB -----END PGP SIGNATURE----- --nextPart2215759.r7xFxdE9dY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507061157.46921.doconnor>