1. libcurl.so.4: cannot open shared object file: No such file or directory


./mongo -f /mongodb/etc/mongo.conf

報此錯誤

libcurl.so.4: cannot open shared object file: No such file or directory

 

1、缺少相關文件,通過

sudo apt-get install libcurl4-openssl-dev 安裝 提示:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libcurl4-openssl-dev

2、sudo apt-get update

檢查更新過后重新安裝libcurl4-openssl-dev即可


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM