Just installed it on NetBSD 7.1.1 with one single problem: I already had (GNU) libiconv installed as a dependency for samba. (Thanks for heads-up regarding ast-ksh; that would have been another one) As far as I can tell, the trouble is caused by iconv.h present in /usr/pkg/include that redefines iconv to libiconv thus causing later linking errors. My quick and dirty solution was to remove samba and libiconv, then do a rebuild (and reinstall them afterwards). Everything works fine using this approach....