From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 04:01:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6860316A4CE for ; Sat, 31 Jan 2004 04:01:57 -0800 (PST) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 836E343D46 for ; Sat, 31 Jan 2004 04:01:53 -0800 (PST) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.30; FreeBSD) id 1Amtos-000Pfc-Cd; Sat, 31 Jan 2004 12:01:50 +0000 Date: Sat, 31 Jan 2004 12:01:50 +0000 From: Jez Hancock To: Derrick MacPherson Message-ID: <20040131120150.GC86545@users.munk.nu> Mail-Followup-To: Derrick MacPherson , freebsd-questions@freebsd.org References: <20040131022811.BC3DD43D1D@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040131022811.BC3DD43D1D@mx1.FreeBSD.org> User-Agent: Mutt/1.4.1i Sender: Jez Hancock cc: freebsd-questions@freebsd.org Subject: Re: PHP4 with GD build problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 12:01:57 -0000 On Fri, Jan 30, 2004 at 06:28:02PM -0800, Derrick MacPherson wrote: > Freebsd 4.7, ports up to date. > > When I compile php4 with GD, I get this error: > > ext/gd/libgd/gdkanji.lo: In function `do_convert': > ext/gd/libgd/gdkanji.lo(.text+0x57b): undefined reference to `iconv_open' > ext/gd/libgd/gdkanji.lo(.text+0x5c8): undefined reference to `iconv' > ext/gd/libgd/gdkanji.lo(.text+0x5f9): undefined reference to `iconv_close' > *** Error code 1 > > Stop in /usr/ports/lang/php4/work/php-4.3.4. > > > It compiles fine without GD. Any ideas what's wrong, and how to fix? Try installing GD on it's own first - uninstalling first if it's already installed. If that doesn't work it's probably worth checking to see if someone else has submitted a PR for this problem here: http://www.freebsd.org/cgi/query-pr-summary.cgi Perhaps submit your own PR report if you're sure it's a bug - you'd probably want to try reproducing the error on a different machine first though. Good luck :P -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/ - ipfw peruser traffic logging