Python is not compiled by me, and I cannot find

Do I need to compile Python again? In this case do I need to recompile all other libraries as well?


On Wed, Jan 30, 2013 at 9:58 AM, Tiago de Paula Peixoto <> wrote:
On 01/30/2013 03:48 PM, Arash wrote:
> It is:
> /usr/local/lib/libboost_python.a
> /usr/local/lib/
> /usr/local/lib/

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/ undefined reference to `PyList_Insert'
/usr/local/lib/ 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/


Tiago de Paula Peixoto <>

graph-tool mailing list