Gcj - lib

Goel, Mudit (Mudit) muditg@alcatel-lucent.com
Mon Jan 8 05:45:00 GMT 2007


Andrew and All ,
  Well the executable has been built for the application but when I try
to execute it I get this error : 
   "error while loading shared libraries: libgcj.so.7: cannot handle TLS
data "
  Initially I thought that I was missing something (like libgcj.jar) but
now since that is present I am not sure what the 
  problem is . Could some one help me resolve this ? 

Thanks
Mudit

-----Original Message-----
From: Andrew Haley [mailto:aph@redhat.com] 
Sent: Friday, January 05, 2007 7:58 PM
To: Goel, Mudit (Mudit)
Cc: java@gcc.gnu.org
Subject: RE: Gcj - lib

Goel, Mudit \(Mudit\) writes:

 >  Under
 >
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc-750-linux-gnu/distributed/s
hare/java I have  libgcj-4.1.0.jar and also  > And under  >
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc-750-linux-gnu/share/java/li
bgcj-4.1.0.jar
 >
 > I could not find any install directory !!!. 

/opt/crosstool is the install directory, isn't it?

 > Also I understand that the libgcj-4.1.0.jar is the default classpath.
Is  > that correct?

Yes.

Your original complaint was:

> I build gcj for ppc750 using crosstool (crosstool-0.42) but I didn't 
> get any libgcj.jar once the build was complete.

Now that we've found it, what is your problem?

Andrew.



More information about the Java mailing list