安装mysql-python时报这个错误
easy_install mysql-python
usr/bin/ld: cannot find -lmysqlclient_r
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1
解决方法
yum install mysql-devel
安装mysql-python时报这个错误
easy_install mysql-python
usr/bin/ld: cannot find -lmysqlclient_r
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1
解决方法
yum install mysql-devel