libtorrent

build boost using bjam buildsystem, version 1.34

bjam --toolset=gcc --layout=system --prefix=/ --with-thread --with-filesystem --with-date_time release install

rename src/file.hpp to src/file_old.cpp
rename src/file_win.hpp to src/file.hpp
open include/hasher.hpp edit the line

#include "zlib.h"

change to

#include "../zlib/zlib.h"

make install

add to the lobby linker flags: -allow-multiple-definition