I zapped the macports version of libxml2 and still no go.
There error message from above indicates no iconv, so I checked my /
usr/lib for both libxml2 and iconv, here are the results:
/usr/lib # ls -la libx*
-rwxr-xr-x 1 root wheel 276784 May 18 15:34 libxar.1.dylib
lrwxr-xr-x 1 root wheel 14 Jun 15 11:50 libxar.dylib -> libxar.
1.dylib
lrwxr-xr-x 1 root wheel 15 Jun 15 11:50 libxml2.2.7.3.dylib ->
libxml2.2.dylib
-rwxr-xr-x 1 root wheel 3758272 May 28 18:40 libxml2.2.dylib
lrwxr-xr-x 1 root wheel 15 Jun 15 11:50 libxml2.dylib ->
libxml2.2.dylib
-rwxr-xr-x 1 root wheel 648832 May 18 14:10 libxslt.1.dylib
lrwxr-xr-x 1 root wheel 15 Jun 15 11:50 libxslt.dylib ->
libxslt.1.dylib
/usr/lib # ls -la *icon*
lrwxr-xr-x 1 root wheel 16 Jun 15 11:50 libiconv.2.4.0.dylib -
> libiconv.2.dylib
-rw-r--r-- 1 root wheel 3098592 May 18 19:09 libiconv.2.dylib
lrwxr-xr-x 1 root wheel 20 Jun 15 11:50 libiconv.dylib ->
libiconv.2.4.0.dylib
I also decided to check if somehow iconv was compiled for 64-bit
clean, but it includes multiple architectures (including 32-bit):
/usr/lib # file libiconv.2.dylib
libiconv.2.dylib: Mach-O universal binary with 3 architectures
libiconv.2.dylib (for architecture x86_64): Mach-O 64-bit dynamically
linked shared library x86_64
libiconv.2.dylib (for architecture i386): Mach-O dynamically linked
shared library i386
libiconv.2.dylib (for architecture ppc7400): Mach-O dynamically linked
shared library ppc
I went back and reread my error message and it is telling me it can't
find the header file iconv.h, so I decided to look for that. Here's
what I got:
/usr/lib # sudo find / -name iconv.h -type file
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/
usr/include/iconv.h
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/
usr/include/iconv.h
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
iPhoneOS2.2.1.sdk/usr/include/iconv.h
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk/
usr/include/iconv.h
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator2.0.sdk/usr/include/iconv.h
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator2.1.sdk/usr/include/iconv.h
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator2.2.1.sdk/usr/include/iconv.h
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator2.2.sdk/usr/include/iconv.h
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/iconv.h
/Developer/SDKs/MacOSX10.5.sdk/usr/include/iconv.h