compiling a program --with-python fails (Py_Initialize in -lpython... no)

M.-A. Lemburg mal at lemburg.com
Fri Jul 20 15:52:02 EDT 2001


Alex K wrote:
> 
> hello!
> 
> i am trying to compile a program (a module for icecast called ices)
> with pythonsupport. but that fails.
> 
> i am on a slackware8 system, with python 2.2a1 installed
> (from tarball with no special conf-arguments).
> 
> [root /usr/local/src/ices-0.1.0]# ./configure
> --with-python-includes=/usr/local/include/python2.2
> ...
> checking for Python.h... yes
> checking for Py_Initialize in -lpython... no
> checking for Py_Initialize in -lpython2.0... no
> checking for Py_Initialize in -lpython2.2... no
> checking for Py_Initialize in -lpython1.6... no
> checking for Py_Initialize in -lpython1.5... no
> configure: error: Could not find the python library
> ...

You will probably have to add the path to the Python lib
using some configure option of that program.

A look at the config.log will also be helpful.
 
-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/




More information about the Python-list mailing list