checking for embedded Python support... yes, shared
checking for python-config... /usr/bin/python-config
checking for Python includes... -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7
checking for Python libraries... -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking for pthread_create in -lpthread... yes
checking for dlopen in -ldl... yes
checking consistency of Python build environment... no
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.