I'm adding this here to speed up building process. I tok me 30 minutes to find all neede libraries.
sudo apt-get install libgnutils-dev libgnutils libldap-2.4-2 libldap-dev comerr-dev libk5crypto3 libk5crypto-dev libkrb5-3 libkrb5-dev libgnutls30 libgnutls-dev libnettle6 nettle-dev librtmp1 librtmp-dev
ln -s /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 /usr/lib/x86_64-linux-gnu/libk5crypto.so"
I'm adding this here to speed up building process. I tok me 30 minutes to find all neede libraries. sudo apt-get install libgnutils-dev libgnutils libldap-2.4-2 libldap-dev comerr-dev libk5crypto3 libk5crypto-dev libkrb5-3 libkrb5-dev libgnutls30 libgnutls-dev libnettle6 nettle-dev librtmp1 librtmp-dev ln -s /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 /usr/lib/x86_64-linux-gnu/libk5crypto.so"