Re: linking libjava.so RPATH problem

2005-07-07 Thread Vasil Dimov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jul 07, 2005 at 10:39:42AM +0200, Simon 'corecode' Schubert wrote: > Lately Vasil Dimov <[EMAIL PROTECTED]> said: > > > 1) Does the fact that the linker does not realize that the libraries > > > have already been found indicate a bug in the lin

Re: linking libjava.so RPATH problem

2005-07-07 Thread Simon 'corecode' Schubert
Lately Vasil Dimov <[EMAIL PROTECTED]> said: > > 1) Does the fact that the linker does not realize that the libraries > > have already been found indicate a bug in the linker? If so, how do I > > best report it? > I cannot think of any sensible reason for this behavior, so I guess it > would be go

Re: linking libjava.so RPATH problem

2005-07-06 Thread Vasil Dimov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jul 06, 2005 at 10:29:20AM -0600, Tom Schutter wrote: > On 7/5/05, Vasil Dimov <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 05, 2005 at 03:55:26PM -0600, Tom Schutter wrote: > > > I am having problems linking in the Java JVM libraries (libjava.so

Re: linking libjava.so RPATH problem

2005-07-06 Thread Tom Schutter
On 7/5/05, Vasil Dimov <[EMAIL PROTECTED]> wrote: > On Tue, Jul 05, 2005 at 03:55:26PM -0600, Tom Schutter wrote: > > I am having problems linking in the Java JVM libraries (libjava.so, > > libverify.so, libjvm.so) into my executable. > > > > With these options added to my gcc command: > > -L/usr/

Re: linking libjava.so RPATH problem

2005-07-05 Thread Vasil Dimov
On Tue, Jul 05, 2005 at 03:55:26PM -0600, Tom Schutter wrote: > I am having problems linking in the Java JVM libraries (libjava.so, > libverify.so, libjvm.so) into my executable. > > With these options added to my gcc command: > -L/usr/local/jdk1.4.2/jre/lib/i386 -ljava -lverify > -L/usr/local/j

Re: linking libjava.so RPATH problem

2005-07-05 Thread Daniel O'Connor
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 copi

linking libjava.so RPATH problem

2005-07-05 Thread Tom Schutter
I am having problems linking in the Java JVM libraries (libjava.so, libverify.so, libjvm.so) into my executable. With these options added to my gcc command: -L/usr/local/jdk1.4.2/jre/lib/i386 -ljava -lverify -L/usr/local/jdk1.4.2/jre/lib/i386/server -ljvm It links ok, but when I try to run it I