Python is not compiled by me, and I cannot find libpython2.7.so. Do I need to compile Python again? In this case do I need to recompile all other libraries as well? Thanks, Arash On Wed, Jan 30, 2013 at 9:58 AM, Tiago de Paula Peixoto <tiago@skewed.de>wrote:
On 01/30/2013 03:48 PM, Arash wrote:
It is:
/usr/local/lib/libboost_python.a /usr/local/lib/libboost_python.so.1.52.0 /usr/local/lib/libboost_python.so
Ok, so according to the config.log some expected symbols from the python library are not being found:
configure:17474: g++ -o conftest -Wall -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -fopenmp -I/usr/local/include -I/usr/local/include/python2.7 -L/usr/local/lib -L/usr/local/lib/python2.7/config -lpython2.7 conftest.cpp -lboost_python -lexpat -lbz2 -lm >&5 /usr/local/lib/libboost_python.so: undefined reference to `PyList_Insert' /usr/local/lib/libboost_python.so: undefined reference to `PyExc_ImportError' ...
Did you compile Python yourself? Did you configure it with --enable-shared? Is there a file named /usr/local/lib/libpython2.7.so?
Cheers, Tiago
-- Tiago de Paula Peixoto <tiago@skewed.de>
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool