RPM 包安装mysql后如果编译PHP?

RPM 包安装mysql后如果编译PHP?

MySQL-server-5.0.22-0.i386.rpm
MySQL-devel-5.0.22-0.i386.rpm
MySQL-client-5.0.22-0.i386.rpm
以上包安装后编译php 5.2.6  使用--with-mysql 参数,编译出错提示mysql 错误,请问该怎么解决这个问题?谢谢.我的QQ:7804479,在线等.

mysql_error in -lmysqlclient...no

readme /help
没明白