From owner-freebsd-gnome@FreeBSD.ORG Sat Jun 19 19:25:16 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B38EB16A4CE; Sat, 19 Jun 2004 19:25:16 +0000 (GMT) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D37C43D2D; Sat, 19 Jun 2004 19:25:16 +0000 (GMT) (envelope-from johnmary@adelphia.net) Received: from 68-169-191-75.losaca.adelphia.net ([68.169.191.75]) by mta10.adelphia.netESMTP <20040619192457.WTMR18421.mta10.adelphia.net@68-169-191-75.losaca.adelphia.net>; Sat, 19 Jun 2004 15:24:57 -0400 Received: by 68-169-191-75.losaca.adelphia.net (Postfix, from userid 1001) id 9DF4868DF; Sat, 19 Jun 2004 12:24:55 -0700 (PDT) Date: Sat, 19 Jun 2004 12:24:55 -0700 From: John Merryweather Cooper To: Craig Rodrigues Message-ID: <20040619192455.GA26431@borgdemon.losaca.adelphia.net> References: <200406191902.i5JJ2PiH025661@h00609772adf0.ne.client2.attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406191902.i5JJ2PiH025661@h00609772adf0.ne.client2.attbi.com> User-Agent: Mutt/1.4.2.1i Phone: 1-509-338-9391 WWW-Home-Page: http://www.borgsdemons.com/ cc: gnome@freebsd.org cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: deve/glib20 needs to link against -liconv X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 19:25:16 -0000 On Sat, Jun 19, 2004 at 03:02:25PM -0400, Craig Rodrigues wrote: I saw a suggestion from T. McLaughlin a little further up this list that may solve your problem. He suggested that recent changes in binutils in -CURRENT may have thrown things into disarray. He suggested: # cd /usr/src/gnu/usr.bin/binutils/ld # make clean # make # make install See if that works. jmc > > >Submitter-Id: current-users > >Originator: Craig Rodrigues > >Organization: > >Confidential: no > >Synopsis: deve/glib20 needs to link against -liconv > >Severity: > >Priority: medium > >Category: ports > >Class: update > >Release: FreeBSD 5.2-CURRENT i386 > >Environment: > System: FreeBSD dibbler.crodrigues.org 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Wed Jun 16 22:07:16 EDT 2004 rodrigc@dibbler.crodrigues.org:/usr/obj/usr/src/sys/MYKERNEL1 i386 > > > > >Description: > > When trying to compile glib 2.4.2, I got this error: > > > configure:2642: cc -O -pipe -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 > > > >How-To-Repeat: > > >Fix: > > > > > --- /usr/ports/devel/glib20/Makefile.orig Sat Jun 19 14:37:17 2004 > +++ /usr/ports/devel/glib20/Makefile Sat Jun 19 14:42:33 2004 > @@ -30,12 +30,15 @@ > USE_GNOME= gnomehack gnometarget pkgconfig > USE_GMAKE= yes > USE_PERL5= yes > +USE_ICONV= yes > +USE_GETTEXT= yes > CONFIGURE_ARGS= --enable-static --with-libiconv=gnu \ > --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc \ > --disable-man --without-xml-catalog > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ > - LDFLAGS="-L${LOCALBASE}/lib -lintl" \ > + LDFLAGS="-L${LOCALBASE}/lib -lintl -liconv" \ > PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ > PTHREAD_LIBS="${PTHREAD_LIBS}" > + > > .include > _______________________________________________ > 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" >