我尝试在py3.4 virtualenv中安装libtorrent和Python绑定:
./configure --enable-python-binding \
--with-boost-libdir=/usr/lib/x86_64-linux-gnu/ \
LDFLAGS="-L/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu/" \
--with-boost-python=boost_python-py34 \
--prefix=/pyenvs/p3 \
--with-boost-random=libboost_random
但是有这个错误
In [1]: import libtorrent
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-ce6253f809d8> in <module>()
----> 1 import libtorrent
ImportError: /usr/lib/x86_64-linux-gnu/libtorrent-rasterbar.so.9: undefined symbol: _ZN5boost6random13random_deviceD1Ev
我在Ubuntu 14.04上安装了libboost1.55-all-dev
什么(确切地)会导致此错误?