Installation on pyhton 3.4 complain about boost libraries using python version 2.7
Hi,
I am not sure if this is graph-tool installation issue or not, but after compiling and installing version 2.12 for python3.4 I get the following error message upon importing graph-tool:
Python 3.4.3+ (default, Oct 14 2015, 16:03:50)
[GCC 5.2.1 20151010] on Linux
Type "help", "copyright", "credits" or "license" for more information.
import graph_tool
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/graph_tool/__init__.py", line 105, in <module>
dl_import("from . import libgraph_tool_core as libcore")
File "/usr/lib/python3/dist-packages/graph_tool/dl_import.py", line 57, in dl_import
exec(import_expr, local_dict, global_dict)
File "<string>", line 1, in <module>
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0: undefined symbol: PyClass_Type
It is obvious that the boost library for python2.7 is being used.
I used the following command to compile boost v1.6 and graph-tool:
- ./bootstrap.sh --with-python=python3.4
2)./configure --with-boost-python=boost_python3.4 --PYTHON_VERSION=3.4
Did I miss something? I attached below the output of the ./configure file, just in case it provides some more clues.
Thanks ....