Глюк такой. Собрал libtorrent. Нормально. А вот питоньи биндинги к нему не собираются. Вот вывод:
pts/2 /opt/PyQt4/src/libtorrent-0.13/bindings/python $ nice -n 19 /opt/PyQt4/bin/bjam --includedir=/opt/PyQt4/include
BOOST_ROOT = /opt/PyQt4/src/boost_1_35_0
OS = LINUX
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "--toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
...patience...
...patience...
...found 3570 targets...
...updating 2 targets...
gcc.link.dll ../../bin/gcc-3.4.5/debug/threading-multi/libtorrent.so
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lboost_thread
collect2: ld returned 1 exit status
"g++" -L"/opt/local/lib" -L"/sw/lib" -L"/usr/lib" -L"/usr/local/lib" -o "../../bin/gcc-3.4.5/debug/threading-multi/libtorrent.so" -Wl,-h -Wl,libtorrent.so -shared -Wl,--start-group "../../bin/gcc-3.4.5/debug/threading-multi/assert.o" "../../bin/gcc-3.4.5/debug/threading-multi/file.o" "../../bin/gcc-3.4.5/debug/threading-multi/closest_nodes.o" "../../bin/gcc-3.4.5/debug/threading-multi/dht_tracker.o" "../../bin/gcc-3.4.5/debug/threading-multi/find_data.o" "../../bin/gcc-3.4.5/debug/threading-multi/node.o" "../../bin/gcc-3.4.5/debug/threading-multi/node_id.o" "../../bin/gcc-3.4.5/debug/threading-multi/refresh.o" "../../bin/gcc-3.4.5/debug/threading-multi/routing_table.o" "../../bin/gcc-3.4.5/debug/threading-multi/rpc_manager.o" "../../bin/gcc-3.4.5/debug/threading-multi/traversal_algorithm.o" "../../bin/gcc-3.4.5/debug/threading-multi/pe_crypto.o" "../../bin/gcc-3.4.5/debug/threading-multi/adler32.o" "../../bin/gcc-3.4.5/debug/threading-multi/compress.o" "../../bin/gcc-3.4.5/debug/threading-multi/crc32.o" "../../bin/gcc-3.4.5/debug/threading-multi/deflate.o" "../../bin/gcc-3.4.5/debug/threading-multi/gzio.o" "../../bin/gcc-3.4.5/debug/threading-multi/infback.o" "../../bin/gcc-3.4.5/debug/threading-multi/inffast.o" "../../bin/gcc-3.4.5/debug/threading-multi/inflate.o" "../../bin/gcc-3.4.5/debug/threading-multi/inftrees.o" "../../bin/gcc-3.4.5/debug/threading-multi/trees.o" "../../bin/gcc-3.4.5/debug/threading-multi/uncompr.o" "../../bin/gcc-3.4.5/debug/threading-multi/zutil.o" "../../bin/gcc-3.4.5/debug/threading-multi/alert.o" "../../bin/gcc-3.4.5/debug/threading-multi/connection_queue.o" "../../bin/gcc-3.4.5/debug/threading-multi/entry.o" "../../bin/gcc-3.4.5/debug/threading-multi/escape_string.o" "../../bin/gcc-3.4.5/debug/threading-multi/http_connection.o" "../../bin/gcc-3.4.5/debug/threading-multi/http_stream.o" "../../bin/gcc-3.4.5/debug/threading-multi/identify_client.o" "../../bin/gcc-3.4.5/debug/threading-multi/ip_filter.o" "../../bin/gcc-3.4.5/debug/threading-multi/peer_connection.o" "../../bin/gcc-3.4.5/debug/threading-multi/bt_peer_connection.o" "../../bin/gcc-3.4.5/debug/threading-multi/web_peer_connection.o" "../../bin/gcc-3.4.5/debug/threading-multi/instantiate_connection.o" "../../bin/gcc-3.4.5/debug/threading-multi/natpmp.o" "../../bin/gcc-3.4.5/debug/threading-multi/piece_picker.o" "../../bin/gcc-3.4.5/debug/threading-multi/policy.o" "../../bin/gcc-3.4.5/debug/threading-multi/session.o" "../../bin/gcc-3.4.5/debug/threading-multi/session_impl.o" "../../bin/gcc-3.4.5/debug/threading-multi/socks4_stream.o" "../../bin/gcc-3.4.5/debug/threading-multi/socks5_stream.o" "../../bin/gcc-3.4.5/debug/threading-multi/stat.o" "../../bin/gcc-3.4.5/debug/threading-multi/storage.o" "../../bin/gcc-3.4.5/debug/threading-multi/torrent.o" "../../bin/gcc-3.4.5/debug/threading-multi/torrent_handle.o" "../../bin/gcc-3.4.5/debug/threading-multi/torrent_info.o" "../../bin/gcc-3.4.5/debug/threading-multi/tracker_manager.o" "../../bin/gcc-3.4.5/debug/threading-multi/http_tracker_connection.o" "../../bin/gcc-3.4.5/debug/threading-multi/udp_tracker_connection.o" "../../bin/gcc-3.4.5/debug/threading-multi/sha1.o" "../../bin/gcc-3.4.5/debug/threading-multi/metadata_transfer.o" "../../bin/gcc-3.4.5/debug/threading-multi/upnp.o" "../../bin/gcc-3.4.5/debug/threading-multi/ut_pex.o" "../../bin/gcc-3.4.5/debug/threading-multi/logger.o" "../../bin/gcc-3.4.5/debug/threading-multi/file_pool.o" "../../bin/gcc-3.4.5/debug/threading-multi/lsd.o" "../../bin/gcc-3.4.5/debug/threading-multi/disk_io_thread.o" "../../bin/gcc-3.4.5/debug/threading-multi/enum_net.o" "../../bin/gcc-3.4.5/debug/threading-multi/broadcast_socket.o" -Wl,-Bstatic -Wl,-Bdynamic -lboost_thread -lboost_filesystem -lcrypto -lrt -Wl,--end-group -g -pthread -export-dynamic
...failed gcc.link.dll ../../bin/gcc-3.4.5/debug/threading-multi/libtorrent.so...
...skipped <pbin/gcc-3.4.5/debug>libtorrent.so for lack of <p../../bin/gcc-3.4.5/debug/threading-multi>libtorrent.so...
...failed updating 1 target...
...skipped 1 target...
P.S. Руками пересобрал boost. Не помогло.