Error "code for hash md5 was not found" Reported When Compiling MongoDB
Symptom
An error is reported stating "ERROR:root:code for hash md5 was not found." when Compiling MongoDB.
Key Process and Cause Analysis
The hasalib module is not installed in Python.
Conclusion and Solution
- Download the hasalib source package and compile and install hasalib.
wget https://files.pythonhosted.org/packages/74/bb/9003d081345e9f0451884146e9ea2cff6e4cc4deac9ffd4a9ee98b318a49/hashlib-20081119.zip unzip hashlib-20081119.zip cd hashlib-20081119 python2 setup.py install
- Recompile MongoDB.
Parent topic: Troubleshooting