Configure: error: Cannot find libmysqlclient under /usr/local

The fix is pretty simple, run the following commands and afterwards reenter your previous ./configure command
ln -s /usr/lib64/libmysqlclient.so /usr/lib/libmysqlclient.so
ln -s /usr/lib64/libmysqlclient.so /usr/local/libmysqlclient.so