Open GoogleCodeExporter opened 8 years ago
the include is fixed in trunk now. as for the link errors, that looks like it
may be issues in the boost libraries themselves, not supporting building as
shared libraries under gcc/clang. You may want to build and link statically
against boost.
The free error in the python binding looks like it may be an ABI issue. make
sure your python binding .so file is linking against the correct version of the
main libtorrent library. This may also be a good candidate for linking
statically, to avoid this risk.
the assert could be a separate issue, but if there is a version (and ABI)
mismatch between the python bindings and the main library, it could be that too.
Original comment by arvid.no...@gmail.com
on 18 Apr 2015 at 2:07
a) for boost libraries - I'm using shared libraries from Ubuntu repos
b) I've have been compiling library together with python bindings (configure
--enable-python-binding), so I think both should be in sync. 1.0.4 version -
checked with ldd:
ldd /usr/local/lib/python2.7/dist-packages/libtorrent.so
linux-vdso.so.1 => (0x00007ffc53789000)
libtorrent-rasterbar.so.9 => /usr/local/lib/libtorrent-rasterbar.so.9 (0x00007f6cffe2f000)
libboost_system.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0 (0x00007f6cffc2b000)
libboost_python-py27.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0 (0x00007f6cff9dd000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6cff6d9000)
libboost_chrono.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.54.0 (0x00007f6cff4d2000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6cff2bb000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6cfeef6000)
libboost_random.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_random.so.1.54.0 (0x00007f6cfecf3000)
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f6cfea94000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f6cfe6b9000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6cfe49b000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6cfe194000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6d00da1000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6cfdf8c000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6cfdd87000)
Original comment by ivan.zde...@gmail.com
on 20 Apr 2015 at 8:28
Original issue reported on code.google.com by
ivan.zde...@gmail.com
on 17 Apr 2015 at 8:18