Ni! Hi Zahra, This last error seems to be a consequence of boost being compiled with a different compiler version than graph_tool.
I encourage you to follow Tiago's request and open a bug with the homebrew issue tracker. Only this will properly fix things for you and others in the long run. Now, _assuming you don't need the triangulation function_, I have a patch applied to one of my systems which lets me disable CGAL: https://git.skewed.de/solstag/graph-tool/commit/7737cafb3a9a4a3667aadc9b9806ef7c1fd9a4ef This patch should let you configure with '--disable-cgal' and compile with your regular compiler without facing your original issue. Cheers, ale .~´ Le jeudi 08 novembre 2018 à 07:17 -0500, Zahra Sheikhbahaee a écrit : > 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 < > [email protected]> 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 > > > > _______________________________________________ > > graph-tool mailing list > > [email protected] > > https://lists.skewed.de/mailman/listinfo/graph-tool
signature.asc
Description: This is a digitally signed message part
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
