对‘libiconv’未定义的引用

刚刚开始接触cocos2dx,在安装过程中遇到很多问题都可以在网上或者论坛找到解决方法,但是现在出了个问题,不知道怎么解决,有没有大佬可以告诉我怎么处理
我的电脑系统:ubuntu

[ 2%] Built target recast
[ 2%] Built target tinyxml2
[ 2%] Built target unzip
[ 3%] Built target flatbuffers
[ 4%] Built target xxhash
[ 68%] Built target cocos2dInternal
[ 68%] Built target cocos2d
[ 68%] Linking CXX executable …/…/bin/cpp-empty-test/cpp-empty-test
…/…/lib/libcocos2dInternal.a(CCFontAtlas.cpp.o):在函数‘cocos2d::FontAtlas::~FontAtlas()’中:
/home/mrxzx/cocos2d-x-3.16/cocos/2d/CCFontAtlas.cpp:134:对‘libiconv_close’未定义的引用
…/…/lib/libcocos2dInternal.a(CCFontAtlas.cpp.o):在函数‘cocos2d::FontAtlas::conversionU32TOGB2312(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::unordered_map<unsigned int, unsigned int, std::hash, std::equal_to, std::allocator<std::pair<unsigned int const, unsigned int> > >&)’中:
/home/mrxzx/cocos2d-x-3.16/cocos/2d/CCFontAtlas.cpp:230:对‘libiconv_open’未定义的引用
/home/mrxzx/cocos2d-x-3.16/cocos/2d/CCFontAtlas.cpp:244:对‘libiconv’未定义的引用
collect2: error: ld returned 1 exit status
tests/cpp-empty-test/CMakeFiles/cpp-empty-test.dir/build.make:174: recipe for target ‘bin/cpp-empty-test/cpp-empty-test’ failed
make[2]: *** [bin/cpp-empty-test/cpp-empty-test] Error 1
CMakeFiles/Makefile2:466: recipe for target ‘tests/cpp-empty-test/CMakeFiles/cpp-empty-test.dir/all’ failed
make[1]: *** [tests/cpp-empty-test/CMakeFiles/cpp-empty-test.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2

有没有大佬帮帮忙啊

提供一下 ubuntu 的版本,引擎的版本

3.16 官方现在有环境搭建文档,可以先参考

http://docs.cocos.com/cocos2d-x/manual/zh/installation/Linux.html

http://cocos2d-x.org/docs/cocos2d-x/en/installation/Linux.html

我就是按照这个文档来做的

Ubuntu 17.10

cocos2d-x-3.16
Cocos Console 2.3

求大佬解答

把 CMake 的输出发一下,就 cmake .. 的输出

有执行 install-deps-linux.sh 吗?