I have messed with symlinks and libraries in /usr/lib. I modified libraries like libmysql*. someone suggested to reinstall libmysqlclient-dev package. Is libmysqlclient-dev holding Mysql libraries?
How can I force the re-installation of libmysqlclient-dev?
I am using Ubuntu Server 10.04 and current Mysql, 5.1.x. I need to use the server to host a Rails application and I need to compile the mysql2 gem, which is failing.
UPDATE
I have removed libmysql* files and mysql directory under /usr/lib. Then I purged and reinstalled mysql server, client and libmysqlclient-dev but I get:
mysql: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
I need to know which package install the shared libraries and how to fix it.