Where is the python library installed?

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.


解决办法:
sudo apt-get install python-dev
posted @ 2016-03-11 11:25  fisherinbox  阅读(1307)  评论(0)    收藏  举报