i had to apt-get these extra packages: libssl-dev libdb-dev pkg-config