[MacPorts] #33641: py27-graph-tool @2.2.15 won't build
MacPorts
noreply at macports.org
Mon Jun 4 05:07:27 PDT 2012
#33641: py27-graph-tool @2.2.15 won't build
------------------------------------------+---------------------------------
Reporter: anthony.bak@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: graph-tool build lion python | Port: py27-graph-tool
------------------------------------------+---------------------------------
Comment(by mmoll@…):
I spoke too soon. The code compiles with that change, but something must
have changed in the linking because now I get this runtime error:
{{{
> python gtdemo.py 2>&1 |c++filt
Traceback (most recent call last):
File "gtdemo.py", line 3, in <module>
import graph_tool.all as gt
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/graph_tool/__init__.py", line 95, in <module>
dl_import("from . import libgraph_tool_core as libcore")
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-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:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/graph_tool/libgraph_tool_core.so, 8): Symbol not found:
graph_tool::get_type_name<boost::mpl::vector<unsigned char, int, long
long, double, long double, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::vector<unsigned char, std::allocator<unsigned
char> >, std::vector<int, std::allocator<int> >, std::vector<long long,
std::allocator<long long> >, std::vector<double, std::allocator<double> >,
std::vector<long double, std::allocator<long double> >,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >,
boost::python::api::object, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na>, boost::mpl::vector<unsigned char, int, long
long, double, long double, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::vector<unsigned char, std::allocator<unsigned
char> >, std::vector<int, std::allocator<int> >, std::vector<long long,
std::allocator<long long> >, std::vector<double, std::allocator<double> >,
std::vector<long double, std::allocator<long double> >,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >,
boost::python::api::object, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na> >::_all_names
Referenced from:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/graph_tool/libgraph_tool_core.so
Expected in: flat namespace
in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/graph_tool/libgraph_tool_core.so
}}}
--
Ticket URL: <https://trac.macports.org/ticket/33641#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list