Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 8656  / 2 Years ago, fri, july 29, 2022, 11:00:32

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


More From » 12.04

 Answers
5

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.


[#35937] Sunday, July 31, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cupwire

Total Points: 365
Total Questions: 126
Total Answers: 125

Location: Malaysia
Member since Thu, Feb 16, 2023
1 Year ago
cupwire questions
;