Hello everyone,
the problem may have been solved in this case, but I would like to share another solution that may work for some servers:
Since you have a dedicated (or VPS) server running WHM/cPanel, follow these steps to solve the problem:
Login to your WHM (http://yourserver/whm)
On the left column select Software -> Install a RPM
Find libc-client-devel.i386 in the list. Select it and click Install
If you are not using cPanel/WHM, just run the following command in your root shell:
For RedHat based Linux distributions:
yum install libc-client-devel.i386
For Debian based Linux distributions:
apt-get install libc-client-devel.i386
Now run again configure for your PHP installation. It should configure with no problems.