I can't find libtorrent-rasterbar in yum neither with easy_install.
So, I download libtorrent-rasterbar source code and use:
Code: Select all
./configure --disable-debug --prefix=/usr --with-boost-libdir=/usr/lib64 --enable-python-binding
make
make install
Code: Select all
python setup.py clean
python setup.py install
Code: Select all
Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libtorrent
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: libtorrent-rasterbar.so.7: cannot open shared object file: No such file or directory
>>>
- -rw-r--r-- 1 root root 259486338 Jul 2 11:20 libtorrent-rasterbar.a
-rwxr-xr-x 1 root root 1072 Jul 2 11:20 libtorrent-rasterbar.la
lrwxrwxrwx 1 root root 29 Jul 2 11:20 libtorrent-rasterbar.so -> libtorrent-rasterbar.so.7.0.0
lrwxrwxrwx 1 root root 29 Jul 2 11:20 libtorrent-rasterbar.so.7 -> libtorrent-rasterbar.so.7.0.0
-rwxr-xr-x 1 root root 91417446 Jul 2 11:20 libtorrent-rasterbar.so.7.0.0