To link custom built software with library you need to have C headers installed. In ubuntu they are in -dev packages (libname-dev).
In your particular case you need to install libssl-dev (apt-get install libssl-dev) and
- If you need SSL related functionality in standard library, then you should rebuild your python 2.7 installation.
开始编译安装
./configure
make
make install