蚊子缺少 MOSQ_1.5
lack MOSQ_1.5 for mosquitto
我正在使用 mosquitto 作为我的项目工具之一。在我通过源代码成功编译(生成二进制文件)mosquitto 并尝试 运行 mosquitto_sub/pub 后,它显示
./mosquitto_sub: /usr/lib/i386-linux-gnu/libmosquitto.so.1: version `MOSQ_1.5' not found (required by ./mosquitto_sub)
虽然 Mosquitto 和 Mosquitto_psswd 能够 运行 没有任何问题。另外我的mosquitto版本是1.5.
我不知道这个问题。
感谢任何帮助。
听起来你安装了早期版本的 mosquitto,它的库在系统路径上。
确保您已卸载计算机上安装的任何早期版本的 mosquitto。
还要确保您的构建目录中有 运行 make install
根用户,以便将库复制到正确的位置
我在使用 GNU make 4.2.1 和 cc (Raspbian 8.3.0-6+rpi1) 8.3.0
构建 rpi 模型 B+ 时遇到了类似的问题
报告错误:./mosquitto_sub:/usr/lib/i386-linux-gnu/libmosquitto.so.1:未找到版本“MOSQ_1.6”(./mosquitto_sub 要求)
注意:我保留了现有的发行版,这样我就可以利用随 debian 软件包 mosquitto 和 mosquitto-clients.
安装的 systemd mosquitto.service
分辨率:
mkdir proj
git clone https://github.com/eclipse/mosquitto.conf
cd mosquitto
# my build failed on master branch, so I picked a tag that worked for me
git checkout -b 1.6.9 tags/1.6.9
make WITH_WEBSOCKETS=yes WITH_DOCS=yes WITH_SRV=yes
# overwrite the existing binaries
sudo make install
sudo ldconfig
# verify that the newly installed binaries have overwritten the originals.
mosquitto --help|grep -w 'mosquitto version'
mosquitto_pub --help|grep -w 'mosquitto_pub version'
mosquitto_sub --help|grep -w 'mosquitto_sub version'
我正在使用 mosquitto 作为我的项目工具之一。在我通过源代码成功编译(生成二进制文件)mosquitto 并尝试 运行 mosquitto_sub/pub 后,它显示
./mosquitto_sub: /usr/lib/i386-linux-gnu/libmosquitto.so.1: version `MOSQ_1.5' not found (required by ./mosquitto_sub)
虽然 Mosquitto 和 Mosquitto_psswd 能够 运行 没有任何问题。另外我的mosquitto版本是1.5.
我不知道这个问题。
感谢任何帮助。
听起来你安装了早期版本的 mosquitto,它的库在系统路径上。
确保您已卸载计算机上安装的任何早期版本的 mosquitto。
还要确保您的构建目录中有 运行 make install
根用户,以便将库复制到正确的位置
我在使用 GNU make 4.2.1 和 cc (Raspbian 8.3.0-6+rpi1) 8.3.0
构建 rpi 模型 B+ 时遇到了类似的问题报告错误:./mosquitto_sub:/usr/lib/i386-linux-gnu/libmosquitto.so.1:未找到版本“MOSQ_1.6”(./mosquitto_sub 要求)
注意:我保留了现有的发行版,这样我就可以利用随 debian 软件包 mosquitto 和 mosquitto-clients.
安装的 systemd mosquitto.service分辨率:
mkdir proj
git clone https://github.com/eclipse/mosquitto.conf
cd mosquitto
# my build failed on master branch, so I picked a tag that worked for me
git checkout -b 1.6.9 tags/1.6.9
make WITH_WEBSOCKETS=yes WITH_DOCS=yes WITH_SRV=yes
# overwrite the existing binaries
sudo make install
sudo ldconfig
# verify that the newly installed binaries have overwritten the originals.
mosquitto --help|grep -w 'mosquitto version'
mosquitto_pub --help|grep -w 'mosquitto_pub version'
mosquitto_sub --help|grep -w 'mosquitto_sub version'