Hi Mattias, Try this... cd /usr/lib ln -s libboost_thread.so.1 libboost_thread.so ln -s libboost_regex.so.1 libboost_regex.so Then see if it links. Otherwise, try putting in the fully qualified pathname: g++ foo.cpp /usr/bin/libboost_regex.so.1 /usr/bin/libboost_thread.so.1 HTH, --Eljay