I am trying to start mongod
but I get
$ mongod
mongod --help for help and startup options
mongod: symbol lookup error: mongod: undefined symbol: _ZN7pcrecpp2RE4InitEPKcPKNS_10RE_OptionsE
Searching on google it seems to be related with libpcre
; I tried to install last versions of libpcre3
and libpcre++
but it doesn't work.
MongoDB shell's version (and mongodb-server
's version) is 2.0.4. Ubuntu's version is 12.04. libpcre3
's version is 8.12-4. libpcre++0
's version is 0.9.5-5.1.
Thanks
Best Answer
We had the same issue, and we're not sure what caused it.
We tried to reinstall via
apt-get
, after purging and such, to no avail.We downloaded the 64-bit precompiled version from the MongoDB website and tried running
mongod
from that package, and it started up fine. You'll probably want to stick with the 2.0.4 version - we used this file.We moved the files in
bin/
to/usr/bin
, and mongod was starting correctly again.This isn't a nice fix, but it does work.