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