Compiling PHP on OS X: iconv works only if forced to 64-bit
The MacPorts iconv library renames the symbols to _libiconv_open
and _libiconv_close
. That's why PHP couldn't find them, not because of the forced 64-bit. Run nm /opt/local/lib/libiconv.dylib
vs nm /usr/lib/libiconv.dylib
(in 10.7.3).