[Libtorrent-devel] Error loading shared libraries libtorrent.so.9

Josef Drexler josef at ttdpatch.net
Thu Nov 27 20:04:22 UTC 2008


libTorrent 0.12.1 and 0.12.2 have a bug in the configure.ac script,  
instead of the minor version being in the "REVISION" variable it's in  
the "AGE" variable, which causes that number to be subtracted from  
the .so number. That is, 0.12.1 makes .so.10.0 and 0.12.2 makes .so. 
9.0, instead of .so.11.1 and .so.11.2, respectively.

This has been fixed in 0.12.3 (or SVN r1062), if you don't want to  
upgrade you can:
1. Exchange the values of LIBTORRENT_REVISION and LIBTORRENT_AGE in  
libtorrent/configure.ac or apply http://ovh.ttdpatch.net/~jdrexler/rt/ 
old/fix_lt-ver.diff
2. Run autogen.sh in libtorrent/ (requires automake>=1.5, autoconf  
and probably some others)
3. Run configure, make, make install.

It *may* also work to just rename the .so file, I don't remember.

-- 
Josef Drexler
josef at ttdpatch.net



More information about the Libtorrent-devel mailing list