Hi Tiage,

I was compiling graph-tool with gcc8.2 and I was getting this error then I used gcc7 with this command line:

./configure CPPFLAGS="-I/Users/anaconda2/pkgs/pycairo-1.18.0-py27h4d1f301_0/include -I/usr/local/include" -with-cgal=/Users/anaconda2/pkgs/cgal-4.12-py27h8634a1c_1 --prefix=/Users/anaconda2 LDFLAGS="-L/usr/local/lib" CC=gcc-7 CXX=g++-7


It got compiled but again when I import graph-tool in python, I receive this error message:


>>> from graph_tool.all import *

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/Users/anaconda2/lib/python2.7/site-packages/graph_tool/__init__.py", line 111, in <module>

    dl_import("from . import libgraph_tool_core as libcore")

  File "/Users/anaconda2/lib/python2.7/site-packages/graph_tool/dl_import.py", line 61, in dl_import

    exec(import_expr, local_dict, global_dict)

  File "<string>", line 1, in <module>

ImportError: dlopen(/Users/anaconda2/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so, 8): Symbol not found: __ZN5boost6system6detail25generic_category_instanceE

  Referenced from: /Users/anaconda2/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so

  Expected in: flat namespace

 in /Users/anaconda2/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so

>


What can be the problem now?

Thanks again.


Best,

Z.


On Thu, Nov 8, 2018 at 1:33 AM Tiago de Paula Peixoto <tiago@skewed.de> wrote:
Am 07.11.18 um 10:05 schrieb Zahra Sheikhbahaee:
> any suggestion?
>

The homebrew recipe must be patched against the new version of CGAL. Could
you please open an issue at the homebrew issue tracker, so that this can be
handled there? Thanks!

Best,
Tiago

--
Tiago de Paula Peixoto <tiago@skewed.de>

_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool