It seems that i have compiled boost::asio without SSL or something but whatever I do I cannot seem to get my previously perfectly compiling app to compile again.

Turns out I just forgot to install the libssl-dev package on my new ubuntu box! :)