Closed GoogleCodeExporter closed 8 years ago
how are you building it?
get_libtorrent_category() is supposed to be exported by the main libtorrent.so
library. Could you verify that it's exporting anything ("nm libtorrent.so")?
perhaps the python binding library can't find the main libtorrent.so library.
When you say "versions" you mean older versions of libtorrent? not different
build configurations?
Original comment by arvid.no...@gmail.com
on 22 Nov 2014 at 6:42
It was a serious issue with my machine, and not libtorrent-0.16.18. I
reinstalled and now its fixed, thanks for your help :)
Original comment by mcdaseth...@gmail.com
on 22 Nov 2014 at 6:58
This is how I build it:
./autotool.sh
./configure --enable-python-binding --with-boost-python=mt
make -j4
sudo make install
cd bindings/python
python setup.py build
cp build/lib.macosx-10.9-intel-2.7/libtorrent.so .
I end up with this error:
Symbol not found: __ZN5boost4asio5error16get_ssl_categoryEv.
This is caused by a bug in boost.asio ( https://github.com/boostorg/asio/pull/1
).
It can be circumvented by one of:
1. disabling the -fvisibility=hidden (which will make libtorrent.so
significantly larger)
2. by applying the patch in the pull request to boost.asio.
3. building libtorrent and the python binding with static linking ( cd
bindings/python : b2 link=static stage_module)
The next release of libtorrent will have a convenient switch to the configure
script to export all symbols, with this patch: http://dpaste.com/2Z8PX3J
Original comment by arvid.no...@gmail.com
on 22 Nov 2014 at 7:05
Original comment by arvid.no...@gmail.com
on 23 Nov 2014 at 8:34
Original issue reported on code.google.com by
mcdaseth...@gmail.com
on 22 Nov 2014 at 6:19