go get github.com/djimenez/iconv-go
提示:../../github.com/djimenez/iconv-go/converter.go:8:19: error: iconv.h: No such file or directory
复制iconv.h至系统include目录,创建 libiconv 软连接,如果没有libiconv, 先执行 pkg install libiconv
cp /usr/local/include/iconv.h /usr/include/
ln -s /usr/local/lib/libiconv.so.3 /usr/lib/libiconv.so
有疑问加站长微信联系(非本文作者)