Libtorrent + boost: undefined char: _ZN5boost6random13random_deviceD1Ev

I am trying to install libtorrent and Python bindings in py3.4 virtualenv:

./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

      

But this mistake

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

      

I have libboost1.55-all-dev

one installed on Ubuntu 14.04.
What (exactly) can cause this error?

+3


source to share





All Articles