--with-libiconv-prefix messes up libjava

Sean McNeil sean@mcneil.com
Wed Dec 8 23:45:00 GMT 2004


I configure my build with

configure --disable-nls --with-system-zlib
--with-libiconv-prefix=/usr/local

when it does the libjava stuff, it ends up making a libgcj.spec that is
inappropriate:

*lib: -lgcj -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
-lpthread -lz   %(libgcc) %(liborig)

This ends up breaking collect2 on a final link of the library because it
passes in -Wl,-rpath -Wl,/usr/local/lib instead of just
-rpath /usr/local/lib.

I am going to attempt to rebuild using --disable-rpath to get around
this problem.

Cheers,
Sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20041208/e2cd3a7e/attachment.sig>


More information about the Gcc mailing list