linux报错undefined reference to `SSL_CTX_set_alpn_protos‘
…/lib/libmosquitto.so.1: undefined reference to `SSL_CTX_set_alpn_protos’collect2: error: ld returned 1 exit statusmake[1]: *** [mosquitto_pub] Error 1原因:openssl版本过旧解决方法:安装新版本sudo apt-get install libs
·
…/lib/libmosquitto.so.1: undefined reference to `SSL_CTX_set_alpn_protos’
collect2: error: ld returned 1 exit status
make[1]: *** [mosquitto_pub] Error 1
原因:openssl版本过旧
解决方法:安装新版本
sudo apt-get install libssl-dev
sudo apt-get install libjsoncpp-dev
更多推荐
已为社区贡献7条内容
所有评论(0)