Bad LD_LIBRARY_PATH while building in libjava...
Andrew Haley
aph@redhat.com
Sat Mar 18 13:29:00 GMT 2006
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.
More information about the Java
mailing list