[Bug libgcj/19527] New: libgij fails to install in a temporary directory

debian-gcc at lists dot debian dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 19 09:50:00 GMT 2005


installing with DESTDIR set to a temporary installation directory, the
installation fails when relinking libgij. The failure is hidden, if libgcj can
be found elsewhere on the system.

  Matthias

libtool: install: warning: relinking `libgij.la'
(cd /home/packages/gcc/4.0/gcc-4.0-4.0ds4/build/i486-linux/libjava; /bin/sh ./li
btool --mode=relink /home/packages/gcc/4.0/gcc-4.0-4.0ds4/build/gcc/xgcc -shared
-libgcc -B/home/packages/gcc/4.0/gcc-4.0-4.0ds4/build/gcc/ -nostdinc++ -L/home/p
ackages/gcc/4.0/gcc-4.0-4.0ds4/build/i486-linux/libstdc++-v3/src -L/home/package
s/gcc/4.0/gcc-4.0-4.0ds4/build/i486-linux/libstdc++-v3/src/.libs -B/usr/i486-lin
ux/bin/ -B/usr/i486-linux/lib/ -isystem /usr/i486-linux/include -isystem /usr/i4
86-linux/sys-include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -W
switch-enum -D_FILE_OFFSET_BITS=64 -ffloat-store -fno-omit-frame-pointer -I/usr/
X11R6/include -Wextra -Wall -D_GNU_SOURCE -DPREFIX="/usr" -DLIBDIR="/usr/lib" -D
BOOT_CLASS_PATH="/usr/share/java/libgcj-4.0.0.jar" -DJAVA_EXT_DIRS="/usr/share/j
ava/ext" -g -O2 -D_GNU_SOURCE -o libgij.la -rpath /usr/lib/../lib gij.lo libgcj.
la)
/home/packages/gcc/4.0/gcc-4.0-4.0ds4/build/gcc/xgcc -shared-libgcc -B/home/pack
ages/gcc/4.0/gcc-4.0-4.0ds4/build/gcc/ -nostdinc++ -L/home/packages/gcc/4.0/gcc-
4.0-4.0ds4/build/i486-linux/libstdc++-v3/src -L/home/packages/gcc/4.0/gcc-4.0-4.
0ds4/build/i486-linux/libstdc++-v3/src/.libs -B/usr/i486-linux/bin/ -B/usr/i486-
linux/lib/ -isystem /usr/i486-linux/include -isystem /usr/i486-linux/sys-include
 -shared -nostdlib /usr/lib/gcc/i486-linux/../../../lib/crti.o /home/packages/gc
c/4.0/gcc-4.0-4.0ds4/build/gcc/crtbeginS.o  .libs/gij.o  -Wl,--rpath -Wl,/usr/li
b/../lib  -L/home/packages/gcc/4.0/gcc-4.0-4.0ds4/build/i486-linux/libstdc++-v3/
src -L/home/packages/gcc/4.0/gcc-4.0-4.0ds4/build/i486-linux/libstdc++-v3/src/.l
ibs -L/usr/lib/../lib -lgcj -L/home/packages/gcc/4.0/gcc-4.0-4.0ds4/build/i486-l
inux/libjava -L/home/packages/gcc/4.0/gcc-4.0-4.0ds4/build/gcc -L/usr/lib/gcc/i4
86-linux/../../../lib -L/usr/lib/gcc/i486-linux/../.. -L/lib/../lib -lgcc_s -lc 
-lgcc_s  /home/packages/gcc/4.0/gcc-4.0-4.0ds4/build/gcc/crtendS.o /usr/lib/gcc/
i486-linux/../../../lib/crtn.o  -Wl,-soname -Wl,libgij.so.0 -o .libs/libgij.so.0
.0.0
/usr/bin/ld: cannot find -lgcj
collect2: ld returned 1 exit status
libtool: install: error: relink `libgij.la' with the above command before instal
ling it

-- 
           Summary: libgij fails to install in a temporary directory
           Product: gcc
           Version: 3.3.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19527



More information about the Java-prs mailing list