mysql: error while loading shared libraries: cannot open shared object file: No such file or directory

After installing MySQL on Ubuntu server, I was getting the subject error. I tried to download the file as per this page but after trying that, I still got the exact same error.

What fixed it was going into /usr/lib and linking to the file in /usr/lib64,
cd /usr/lib
ln -s /usr/lib64/

then mysql worked!

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *