If you install mongo via apt, I believe it is mongod, but via the 10gen repository, it is mongodb
Error while building MongoDB/kerberos modules? Check here.
Was attempting to troubleshoot why grunt wasn't being installed properly, and it turns out I had a peer dependency error:
npm WARN EPEERINVALID email@example.com requires a peer of kerberos@~0.0 but none was installed.
Attempting to install
mongodb(the module that requires it) resulted in this error.
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory compilation terminated.
As it turns out, you're missing a dependency and must install it via apt:
sudo apt-get install libkrb5-dev
Looks like @jongarrison had the same issue
NodeBB w/ MongoDB still works just fine even though the kerberos dependency doesn't build, it just means you can't connect to MongoDB servers utilising kerberos authentication.
Would prefer not to have to add
libkrb5-devto the list of dependencies, so investigating alternatives...