Installation issues concerning boost::python on Debian stretch
I'm having big problems installing graph-tool on my system; I really hope someone can help.
I'm running Debian stretch, and use anaconda3 to manage my python environments; in this particular case, I'm just trying to install in the root environment, which is a python3 env.
I seem to be having a similar issue to that indicated here: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Problem-with-configure-and-Boost-Python-td4024944.html , i.e. the main error message during compilation is that no usable version of boost::python is found.
I am compiling as follows:
./configure --enable-openmp PYTHON=$(which python) CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
also indicating the include and lib folders where boost was installed.
my config.log file seems to have multiple errors, including that of not finding multiple references to expected symbols. The solution in the above thread was that of recompiling python with shared library capability; however I think I already have python configured in such a way; if I run:
ldd $(which python)
I get
linux-vdso.so.1 (0x00007ffe75716000)
libpython3.6m.so.1.0 => /home/bais/anaconda3/bin/../lib/libpython3.6m.so.1.0 (0x00007f22c2f49000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f22c2d09000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f22c2b05000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f22c2902000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f22c26fa000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f22c23f4000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f22c2055000)
/lib64/ld-linux-x86-64.so.2 (0x00005649999b3000)
and according to https://stackoverflow.com/questions/9193773/is-there-a-way-to-tell-if-python-was-configured-and-compiled-with-with-thread the second elements shows that my python binary uses shared libraries.
My full config.log is available at https://pastebin.com/FDx5w0uC .
Thank you for the assistance!