Description
To compile MongoDB with --ssl option, e.g.
$ scons --ssl all
one needs to install the libssl-dev (debian/ubuntu) or openssl-devel (redhat/centos). Otherwise, an error message:
fatal error: openssl/err.h: No such file or directory
could be thrown.
The page link: http://www.mongodb.org/about/tutorial/build-mongodb-on-linux/