Re: PHP4 with GD build problem.

2004-01-31 Thread Jez Hancock
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PHP4 with GD build problem.

2004-01-30 Thread Derrick MacPherson
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?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: PHP4 with GD build problem.

2004-01-30 Thread Marius Kirschner
 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?

Sorry, I have no solution for you, just wanted to say that I've had the same
problem with 4.9.  I build it without GD for now.

---Marius


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]