源码安装mosquitto cannot stat ‘mosquitto.8‘: No such file or directory
作者:互联网
源码编译安装mosquitto,执行make install报如下错误
原因:没有把libwebsockets的头文件和库文件的路径添加到环境变量
libwebsockets的头文件和库文件路径在编译安装的时候能够看到
解决
cat >> /etc/profile << EOF
export WEBSOCKET_HEADER=/usr/local/include
export WEBSOCKET_LIB=/usr/local/lib
export PATH=$PATH:$WEBSOCKET_HEADER:$WEBSOCKET_LIB
EOF
source /etc/profile
标签:stat,头文件,No,编译,源码,mosquitto,libwebsockets,安装 来源: https://blog.csdn.net/anqixiang/article/details/114153950