apt-get had installed libboost 1.48 and I figured there has been some problems with the old versions of boost:
Undefined symbols for architecture i386 - "boost::thread::start_thread_noexcept()"
It looks like your headers are outdated
first using :
sudo apt-get remove libboost-all-dev
I removed boost then deleted all the files in /usr/local/include/boost/
directory and then installed boost according to this manual.