/usr/bin/ld: cannot find -lmysqlclient mysql-python mysqldb
centos6.3:
先保证安装了 python-devel, mysql-server ,mysql-client, mysql-devel
运行find / -name 'libmysqlclient.so.*',;
找到libmysqlclient.so的路径
关键:
sudo ln -s /usr/lib64/mysql/libmysqlclient.so.16.0.0 /usr/lib/libmysqlclient.so
然后安装成功