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即可