Modify Runtime Link-editor
We need to modify runtime link-editor in order to make all installation smoothly.runtime link-editor is something like library linker, so system will automatically search all library that we modified in ld.so.conf
Edit ld.so.conf
echo "/usr/local/mysql/lib/mysql" >> /etc/ld.so.conf
echo "/usr/local/mysql/include" >> /etc/ld.so.conf
echo "/usr/local/ssl/include/openssl" >> /etc/ld.so.conf
echo "/usr/include" >> /etc/ld.so.conf
echo "/usr/include/openssl" >> /etc/ld.so.conf
echo "/usr/local/include" >> /etc/ld.so.conf
Reload Runtime
ldconfig