ubuntu 16.04 mongodb enterprise 3.4 安裝中遇到的錯(cuò)誤
錯(cuò)誤一
./mongod: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
解決方法
apt-get install libcurl4-openssl-dev
錯(cuò)誤二
./mongod: error while loading shared libraries: libnetsnmpmibs.so.30: cannot open shared object file: No such file or directory
解決方法
apt-get install snmpd snmp snmp-mibs-downloader
如果上面命令報(bào)錯(cuò):
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package snmp-mibs-downloader is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'snmp-mibs-downloader' has no installation candidate
就把snmp-mibs-downloader去掉 執(zhí)行:
apt-get install snmpd snmp