I’m trying to build Hercules from the latest Subversion on Mac OS X 10.6. It uses the iconv library for character translations. The Hercules code uses iconv_open(), iconv(), and iconv_close(). Those routines are also present in the system library on 10.6, under those names. There’s only one problem: I’m getting link failures for libiconv_open(), libiconv(), and libiconv_close().
I’ve hunted all over my system for where the names are being changed from iconv* to libiconv*, and not found a thing. Nothing in the Hercules code is doing this. Other folks are able to build fine on current OS X.
I’m missing something simple, but just can’t find it. Help?
I got this:
until I removed my two other copies in /opt/local and /usr/local (from Macports and a raw build of the GNU package). Then it worked.