cat /usr/local/lsws/phpbuild/php-5.3.16/config.log

configure:60660: checking for mysql_error in -lmysqlclient
configure:60679: gcc -o conftest -I/usr/include -g -O2 -fvisibility=hidden -L/usr/lib64 -Wl,-rpath,/usr/lib6464 -L/usr/lib6464 -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient -lz -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lbz2 -lz -lrt -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz 1>&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
configure: failed program was:
#line 60668 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_error();

int main() {
mysql_error()
; return 0; }