can not find jc1 gcj or jvgenmain after gcc install

Andrew Haley
Tue Sep 14 16:37:00 GMT 2010

On 09/14/2010 05:16 PM, charfi asma wrote:
> Hello,
> I run the contrib/download_ecj and rebuilt the java fe 
> this time I get this new error when calling : /usr/local2/bin/gcj -save-temps 
> --main=Hello -v 2>&1 | grep ecj
> /usr/local2/libexec/gcc/i686-pc-linux-gnu/4.5.1/ecj1 -g1 
> -fbootclasspath=./:/usr/local2/share/java/libgcj-4.5.1.jar -g1 -fsource=1.5 
> -ftarget=1.5 -fzip-dependency -fzip-target Hello.jar
> /usr/local2/libexec/gcc/i686-pc-linux-gnu/4.5.1/ecj1: error while loading shared 
> libraries: cannot open shared object file: No such file or 
> directory
> I think that I did not well rebuild the libgcj, can you specify the instructions 
> to do that ?


ldd /usr/local2/libexec/gcc/i686-pc-linux-gnu/4.5.1/ecj1

LD_LIBRARY_PATH problems?  Maybe LD_LIBRARY_PATH doesn't include the
dir that contains


More information about the Gcc-help mailing list