The C/C++ compilers of the ports lang/gcc40 and lang/gcc41 require libiconv to run properly. The library will be indirectly installed by devel/gmake and will be used by gcc40 and gcc41, but no run-time dependency has been set by these two ports. For this reason libiconv won't be installed if you install the package of gcc40 or gcc41. Fix: Add USE_ICONV=yes to Makefile of lang/gcc40 and lang/gcc41. How-To-Repeat: Make sure that libiconv is not installed. $ pkg_info -E 'libiconv*' $ pkg_add -r gcc40 [...] $ ldd /usr/local/bin/gcc40 /usr/local/bin/gcc40: libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2808a000) libc.so.6 => /lib/libc.so.6 (0x28177000) $ gcc40 /libexec/ld-elf.so.1: Shared object "libiconv.so.3" not found, required by "gcc40"
Responsible Changed From-To: freebsd-ports-bugs->gerald Over to maintainer
State Changed From-To: open->closed I just updated the lang/gcc40 port accordingly as well. Thanks!