PHP 컴파일 시 configure: error: Cannot find libmysqlclient under 오류

OS : RHEL 5.5
apache : worker

php 컴파일시 다음과 같은 오류 발생시

checking for specified location of the MySQL UNIX socket… no
checking for MySQL UNIX socket location… no
configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore!
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install’.  Stop.

–with-mysql=/usr/bin \
–with-libdir=lib64 \

설정후 재컴파일 하여 성공하였습니다.
상황에 따라 틀리겠지만 참고하면 좋을것같습니다.