php-python icon indicating copy to clipboard operation
php-python copied to clipboard

Can not build

Open vonj opened this issue 11 years ago • 4 comments

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.

vonj avatar Oct 14 '13 09:10 vonj

@vonj more info please

It is not finding python lib did you try

./configure LDFLAGS="-L/usr/non-standard-path/python/lib"

I can but only guess...

nickl- avatar Oct 21 '13 18:10 nickl-

It is in the std /usr/lib location. (Vanilla Ubuntu 13.04 with python dev package.)

vonj avatar Oct 21 '13 18:10 vonj

Installing 13.4 next week will investigate

nickl- avatar Nov 01 '13 02:11 nickl-

@nickl- how'd it work out? :)

zevaverbach avatar Apr 14 '15 20:04 zevaverbach