Python-Mysql安装报错

/usr/bin/ld: cannot find -lpython2.7

解决
ln -s /usr/local/python2.7/lib/libpython2.7.so /usr/lib/