开发者社区 问答 正文

ubuntu 安装 mongodb,启动时报错

/usr/local/mongodb/bin/mongod: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
怎么解决?

展开
收起
落地花开啦 2016-02-22 17:58:09 2694 分享 版权
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

    编译的时候用了libc++ 然后找到libc++ 所在的目录 软链过去就行了

    2019-07-17 18:46:56
    赞同 展开评论