Some more details: Without the extra compiler flags libTorrent compiles and runs. Rtorrent can use libTorrent to manage torrent files, hash torrent files etc. The problem arises when rtorrent tries to connect to a tracker (the first stage of the bittorrent protocol), that connect fails and so bittorrent can not proceed.