Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2004 12:22:09 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Franz Klammer <klammer@webonaut.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: glib-2.4.2 - configure failed
Message-ID:  <1087575729.878.9.camel@gyros>
In-Reply-To: <40D2B7CD.4010807@webonaut.com>
References:  <40D2B7CD.4010807@webonaut.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-R9JfFh38/KrsTUUBOD2f
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2004-06-18 at 05:37, Franz Klammer wrote:
> got this error-message while i tried to recompile glib20:
>=20
> configure:2642: cc -O -pipe -march=3Dpentium3 -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_relocatio=
n_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: $? =3D 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?prod=
uct=3Dglib"
> | #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.  */
>=20
>=20
> but all libraries are there an up to date.
>=20
> reinstalling libtool\*, gettext, intltool, kernel, userland, ...
> didn't help.
>=20
> after adding -liconv to CONFIGURE_ENV/LDFLAGS configure works.
>=20
> 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

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



--=-R9JfFh38/KrsTUUBOD2f
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBA0xaxb2iPiv4Uz4cRAjn5AJ9PXGzJN5cqFsguGayqWuTx9pZO3wCcCR8f
rw8ngnAVdtGlLIoTtJMgBHE=
=tZ4c
-----END PGP SIGNATURE-----

--=-R9JfFh38/KrsTUUBOD2f--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1087575729.878.9.camel>