当前位置:网站首页>Problem solving in the process of using mosquitto
Problem solving in the process of using mosquitto
2022-08-02 11:18:00 【Little Monk Hanshui Temple Wuxin】
1. To use mosquitto, either link its library files to compile, or download and install mosquitto on the system. After I installed it, I also successfully compiled my program. As a result, when running my executable file, it throwserror.
The reason is that the system cannot find the library file during execution.One is to add the path of libmosquitto.so.1 in the environment variable, and the other is to add it to /usr/local/lib.After mosquitto is compiled and installed, libmosquitto.so.1 will be under the lib of mosquitto.I am using the second method.
First step
sudo cp libmosquitto.so.1 /usr/local/libSecond step
sudo ln -s /usr/local/lib/libmosquitto.so.1 /usr/lib/libmosquitto.so.1 ldconfig边栏推荐
猜你喜欢
随机推荐
划分训练集,验证集,测试集
流动性质押挖矿系统开发如何制作?单双币系统开发成熟技术
记录代码
Excel dynamic chart production
org.apache.ibatis.binding.BindingException Invalidbound statement (not found)的解决方案和造成原因分析(超详细)
放苹果(暑假每日一题 13)
多线程(基础) - 4万字总结
Deep Learning 100 Examples - Convolutional Neural Network (CNN) for mnist handwritten digit recognition
OSI 七层模型和TCP/IP模型及对应协议(详解)
从测试入门到测试架构师,这10年,他是这样让自己成才的
jacoco的学习以及理解
idea常用插件
CCF论文会议 IEEE 如何查询某个会议期刊的所有文章
JSP中include指令的功能简介说明
QT笔记——Q_PROPERTY了解
注意力机制
MP的几种查询方式
go语言的接口
字节跳动软件测试岗,收到offer后我却拒绝了~给面试的人一些忠告....
C#/VB.NET to add more lines more columns image watermark into the Word document









