Ubuntu 上的 Mongodb
continue
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
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
continue
I solved that error as described here:
from: http://ubuntuforums.org/showthread.php?t=1484848
I fought this problem from synaptic on down to gpg, only to find it was readline all along. My solution was somewhat simpler than building or patching.
in terminal:
ls /usr/local/lib
there was a bunch of readline libs in there (libreadline.so.BLAH-BLAH) so i:
su
mkdir temp
mv /usr/local/lib/libreadline* temp
LD配置
apt-get update
and voila. went without a hitch. then i deleted my temporary directory (rm -rf /usr/local/lib/temp), exited su.
I fought this problem from synaptic on down to gpg, only to find it was readline all along. My solution was somewhat simpler than building or patching.
in terminal:
ls /usr/local/lib
there was a bunch of readline libs in there (libreadline.so.BLAH-BLAH) so i:
su
mkdir temp
mv /usr/local/lib/libreadline* temp
ldconfig
apt-get update
and voila. went without a hitch. then i deleted my temporary directory (rm -rf /usr/local/lib/temp), exited su.