Compiling mongo-cxx-driver-r3.6.1

If you keep deleting your posts it will make resolving the problem more difficult. That said, based on the GCC 4.8.5 version, it looks like you are running on RHEL 7.0 (or a clone). Where did you obtain the Boost 1.58 packages? Can you provide the source so that I can try to replicate the failure you encountered?