網站首頁 編程語言 正文
安裝
-
下載源碼
進入官網:https://github.com/zeromq/libzmq,解壓到指定目錄。 -
編譯安裝
進入libzmq解壓后的目錄,執行以下命令:
./autogen.sh
./configure
make
sudo make install
說明: 某些情況下可能需要使用libsodium加密庫替換默認內置的tweetnacl加密庫,則需要加上選項–with-libsodium(需要安裝libsodium),大部分情況下不需要該選項。、
sudo ldconfig
默認路徑在/opt/zmq
下面,編譯直接調用即可
問題排查
- ./configure 生成makefile 如果報錯:
sudo apt-get install g++
sudo apt-get install libuuid-devel
- 執行./autogen.sh時出現報錯
autogen.sh: error: could not find pkg-config. pkg-config is required to run autogen.sh.
sudo apt-get install pkg-config
autogen.sh: error: could not find libtool. libtool is required to run autogen.sh
sudo apt-get install libtool-bin
sudo apt-get install libtool
autogen.sh:error: could not find autoreconf. autoconf and automake are required to runautogen.sh
sudo apt-get install autoreconf*
原文鏈接:https://blog.csdn.net/weixin_39589455/article/details/129542898
- 上一篇:沒有了
- 下一篇:沒有了
相關推薦
- 2023-06-18 C#實現不同窗體之間傳遞參數_C#教程
- 2022-08-13 element-ui 動態級聯選擇器Cascader
- 2023-04-07 C語言中循環嵌套的應用方式_C 語言
- 2022-04-30 C語言使用鏈表實現學生籍貫管理系統_C 語言
- 2022-07-03 python類的私有屬性和公共屬性說明_python
- 2022-08-01 詳解Selenium中元素定位方式_python
- 2022-04-03 Flutter實現旋轉掃描效果_Android
- 2023-03-28 Go實現set類型的示例代碼_Golang
- 欄目分類
-
- 最近更新
-
- window11 系統安裝 yarn
- 超詳細win安裝深度學習環境2025年最新版(
- Linux 中運行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎操作-- 運算符,流程控制 Flo
- 1. Int 和Integer 的區別,Jav
- spring @retryable不生效的一種
- Spring Security之認證信息的處理
- Spring Security之認證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權
- redisson分布式鎖中waittime的設
- maven:解決release錯誤:Artif
- restTemplate使用總結
- Spring Security之安全異常處理
- MybatisPlus優雅實現加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務發現-Nac
- Spring Security之基于HttpR
- Redis 底層數據結構-簡單動態字符串(SD
- arthas操作spring被代理目標對象命令
- Spring中的單例模式應用詳解
- 聊聊消息隊列,發送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠程分支