glib-2.4.2 - configure failed

Joe Marcus Clarke marcus at marcuscom.com
Fri Jun 18 09:21:45 PDT 2004


On Fri, 2004-06-18 at 05:37, Franz Klammer wrote:
> got this error-message while i tried to recompile glib20:
> 
> configure:2642: cc -O -pipe -march=pentium3 -I/usr/local/include
> -L/usr/local/lib -lintl conftest.c  >&5
> /usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, not
> found (try using -rpath or -rpath-link)
> /usr/local/lib/libintl.so: undefined reference to `libiconv_set_relocation_prefix'
> /usr/local/lib/libintl.so: undefined reference to `libiconv_open'
> /usr/local/lib/libintl.so: undefined reference to `libiconv_close'
> /usr/local/lib/libintl.so: undefined reference to `libiconv'
> configure:2645: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "glib"
> | #define PACKAGE_TARNAME "glib"
> | #define PACKAGE_VERSION "2.4.2"
> | #define PACKAGE_STRING "glib 2.4.2"
> | #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
> | #define GLIB_MAJOR_VERSION 2
> | #define GLIB_MINOR_VERSION 4
> | #define GLIB_MICRO_VERSION 2
> | #define GLIB_INTERFACE_AGE 2
> | #define GLIB_BINARY_AGE 402
> | #define G_COMPILED_WITH_DEBUGGING "minimum"
> | /* end confdefs.h.  */
> 
> 
> but all libraries are there an up to date.
> 
> reinstalling libtool\*, gettext, intltool, kernel, userland, ...
> didn't help.
> 
> after adding -liconv to CONFIGURE_ENV/LDFLAGS configure works.
> 
> is this my problem or is something else wrong?

This is a bug in the new binutils on -CURRENT.  I'm not sure why it
hasn't been fixed yet.  To get around this, do:

cd /usr/src/gnu/usr.bin/binutils/ld
make clean
make
make install

Joe

> 
> /franz
> 
> kernel/userland (cvsup'ed approx. 5 hours before):
> FreeBSD ds9.webonaut.com 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Jun 17 17:29:03 
> CEST 2004     root at ds9.webonaut.com:/usr/obj/usr/src/sys/DS9  i386
> 
> 
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040618/27fa41e9/attachment.bin


More information about the freebsd-gnome mailing list