[Python-Dev] Cannot find the main Python library during installing some app.

Amaury Forgeot d'Arc amauryfa at gmail.com
Thu Jun 21 11:11:39 CEST 2012


Hi,

This mailing list is for the development *of* Python.
Development *with* Python should be discussed on the python-list mailing
list, or the comp.lang.python usenet group.
There will be many people there willing to answer your question...

2012/6/21 Van Gao <gaofanv at 126.com>

> hi,
>
> I got the error below during installing the libmobiledevice:
> checking consistency of all components of *python development
> 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.
>
>
> ============================================================================
>
> I have installed the python2.7,  but I cannot find the lib under the
> /usr/local/lib/python2.7, *so where can I get the development version for
> python*?  I downloaded the Python-2.7.3.tgz from python.org, is there any
> different between the development version with the tgz file? Thanks.
>
> --
> View this message in context:
> http://python.6.n6.nabble.com/Cannot-find-the-main-Python-library-during-installing-some-app-tp4979076.html
> Sent from the Python - python-dev mailing list archive at Nabble.com.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/amauryfa%40gmail.com
>



-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120621/b01f040b/attachment.html>


More information about the Python-Dev mailing list