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

Rob Singelais rsingelais2 at gmail.com
Wed Nov 26 23:28:44 UTC 2008


Charles Clark wrote:
>> | From:     Rob Singelais <rsingelais2 at gmail.com>
>> 
>> | Currently in /usr/local/lib I have libtorrent.la, libtorrent.so, 
>> | libtorrent.so.9 and libtorrent.so.9.2.0. Nothing showing 
>> | libtorrent.so.11 that you said I should have.
> 
> Ok; until one of the developers contradicts me I'll assume that
> has to do with the way libtorrent compiles on different
> operating systems. If you are sure the libtorrent.so.9 comes
> from your libtorrent 0.12.2 install, that is good enough for me.
>
> If the files are there and non-zero and correctly permitted in
> /usr/local/lib, and yet rtorrent complains that it can't link
> with them when you try to run it, then I have your probable fix
> although it is hard to be sure because I don't think you
> specified what OS you are using.

Makes me wonder why I don't have a libtorrent.so.11, I compiled this on 
Debian and I'm sure I got the right source to libtorrent 0.12.2.

> Assuming you are using linux (what flavor/distro?), does it have
> the file "/etc/ld.so.conf" and possibly the directory
> "/etc/ld.so.conf.d"? If so, you should check ld.so.conf and any
> files in the ld.so.conf.d directory to see if they have the
> directory "/usr/local/lib" in them; if not then that is your
> problem.
> 
> To fix it (as root):
> 
> echo "/usr/local/lib" >> /etc/ld.so.conf
> ldconfig
> 

I'm using Debian Lenny, I have /etc/ld.so.conf that includes 
/etc/ld.so.conf.d/*.conf.


cat /etc/ld.so.conf.d/libc.conf
# libc default configuration
/usr/local/lib

-- 
Regards,
Rob Singelais | AIM: ct3l


More information about the Libtorrent-devel mailing list