This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Bad LD_LIBRARY_PATH while building in libjava...
- From: Andrew Haley <aph at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: java at gcc dot gnu dot org
- Date: Sat, 18 Mar 2006 13:29:08 +0000
- Subject: Re: Bad LD_LIBRARY_PATH while building in libjava...
- References: <441BB77A.2050405@avtrex.com>
David Daney writes:
> I just did a make in i686-pc-linux-gnu/libjava, and the very last thing
> it does is:
>
> ./gcj-dbtool -n classmap.db || touch classmap.db
> lt-gcj-dbtool: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found
> (required by
> /home/daney/gccsvn/native/i686-pc-linux-gnu/libjava/.libs/libgcj.so.7)
> make[1]: Leaving directory
> `/home/daney/gccsvn/native/i686-pc-linux-gnu/libjava'
>
> It looks like the LD_LIBRARY_PATH should be set so that the
> libgcc_s.so.1 from the current build is used instead of the system version.
>
> I don't know what harm comes from not creating classmap.db.
It really doesn't matter; the '||' should mean that the build doesn't
fail. I'm not sure why make desn't do the right thing here.
Andrew.