PHP4 with GD build problem.

Derrick MacPherson dmacpher at vfs.com
Fri Jan 30 18:28:13 PST 2004


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?



More information about the freebsd-questions mailing list