On 07.11.2015 12:58, Jan 'oglop' Gazda wrote:
> Hello I have a problem with installation of graphtool on fedora23, I'm new to 
> linux so please try to link me to the places were I can read about advanced 
> answers you might post
>
> I have complied the graph-tool as so:
> ./configure PYTHON=python3.4 CXXFLAGS=-std=gnu++14 --enable-openmp 
> --prefix=$HOME/.local/ 
> --with-python-module-path=/home/oglop/.local/lib/python3.4/site-packages
>
> and I got this error
> python3 -c 'import graph_tool; print(graph_tool.__version__)'
> python3: symbol lookup error: 
> /home/oglop/.local/lib/python3.4/site-packages/graph_tool/libgraph_tool_core.so:
>  undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE

It looks like you are using a version of boost::python that is linked
with a different version of python than the one you are using.

If I'm not mistaken, in fedora you need to add the option:

   --with-boost-python=boost_python3

when running ./configure. You may also need to install the package
boost-python3-devel beforehand.

Best,
Tiago

-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to