I have just installed mongoDb in my macOs Sierra version 10.12.6 with command brew install mongodb-community@4.4
and start the service using command brew services start mongodb-community@4.4
.
I got message "Successfully started mongodb-community
(label: homebrew.mxcl.mongodb-commu", after which I run the command mongod
and I got error message:
Macs-MacBook-Pro:~ mac$ mongod
dyld: Symbol not found: _syslog$DARWIN_EXTSN
Referenced from: /usr/local/bin/mongod (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
in /usr/local/bin/mongod
Abort trap: 6
I thought it's happening because of older version of my macOs so, after this I have install and tried with the following but got same error
brew install mongodb-community@4.4
brew install mongodb-community@3.4 and
brew install mongodb-community@3.2
but got same error message:
Macs-MacBook-Pro:~ mac$ mongod
dyld: Symbol not found: _syslog$DARWIN_EXTSN
Referenced from: /usr/local/bin/mongod (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
in /usr/local/bin/mongod
Abort trap: 6
What can I try to overcome this?