Opened 10 years ago
Closed 7 years ago
#46313 closed defect (fixed)
py27-graph-tool @2.2.35_0 still broken after rebuilding
Reported by: | ba228jw@… | Owned by: | count0 (Tiago de Paula Peixoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | petrrr, mamoll (Mark Moll) | |
Port: | py-graph-tool |
Description (last modified by mf2k (Frank Schima))
attempted install of python package graph_tool with brand new install of macports 2.3.3 on OSX 10.10.1 with Xcode 6.1.1
Error: Port py27-graph-tool is still broken after rebuilding it more than 3 times.
Attachments (2)
Change History (9)
Changed 10 years ago by ba228jw@…
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
The log says:
Could not open libboost_regex.dylib: Error opening or reading file (referenced from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/centrality/libgraph_tool_centrality.0.so)
and:
Could not open libboost_iostreams.dylib: Error opening or reading file (referenced from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/centrality/libgraph_tool_centrality.0.so)
I note that libboost_regex.dylib and libboost_iostreams.dylib are single-threaded boost libraries. The multi-threaded counterparts are libboost_regex-mt.dylib and libboost_iostreams-mt.dylib.
boost in MacPorts by default only installs the multi-threaded versions of the libraries. To additionally get the single-threaded versions, you have to deselect the no_single variant while installing boost. Did you do this? Could you show us with which variant(s) you have installed boost, by running:
port -v installed boost
Even if boost had been installed without the no_single variant, it is strange that py27-graph-tool would choose to use the single-threaded versions of the libraries instead of the multi-threaded versions.
comment:2 Changed 10 years ago by ba228jw@…
I re-installed boost with the single-threaded libraries and it seems to have fixed things. Thanks for the help!
comment:4 Changed 9 years ago by petrrr
Cc: | mmoll@… added |
---|---|
Owner: | changed from macports-tickets@… to tiago@… |
Assigning to / CC-ing maintainers.
py-graph-tool
was updated to @2.10, so the issue with requireing single threaded lib versions of boost, might be solved as well.
comment:5 Changed 7 years ago by mf2k (Frank Schima)
Port: | py-graph-tool added; graph_tool removed |
---|
comment:6 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:7 Changed 7 years ago by mamoll (Mark Moll)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This has likely already been fixed in the latest version. Reopen if this is not the case.
output of port -d -y rev-upgrade