Ubuntu上的Mongodb [英] Mongodb on Ubuntu

查看:69
本文介绍了Ubuntu上的Mongodb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了 之外,还有其他文档吗?如何在Linux上安装MongoDB?我收到此错误:

Is there any other document except for that which explains how to install MongoDB on Linux? I get this error:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 7F0CEB10
gpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: PC

有什么想法吗?

推荐答案

我按以下说明解决了该错误:

I solved that error as described here:

ls /usr/local/lib

su
mkdir temp
mv /usr/local/lib/libreadline* temp
ldconfig
apt-get update

rm -rf /usr/local/lib/temp

来自: http://ubuntuforums.org/showthread.php?t=1484848

这篇关于Ubuntu上的Mongodb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆