Whilst trying to resolve a dependency issue with MySQL's
libmysqlclient libraries on one of my CentOS 6 MySQL servers I was surprised to discover the following libraries installed in
libmysqlclient_r.so -> libmysqlclient_r.so.16.0.0 libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0 libmysqlclient_r.so.16.0.0 libmysqlclient.so -> libmysqlclient.so.16.0.0 libmysqlclient.so.16 -> libmysqlclient.so.16.0.0 libmysqlclient.so.16.0.0
The reason I was surprised was because this server has only ever had MySQL 5.5 installed which was built from source. Building MySQL 5.5 produces a set of
libmysqlclient.so.18 libraries, not
I then built a brand new CentOS 6 (i386) server from scratch and installed only the Base package group and nothing else (i.e. no HTTP server, no MySQL, no Gnome etc). Having scanned the packages in this group there was nothing that jumped out at me as having a dependency on
However when the install completed, there sitting in the
/usr/lib directory was a
mysql folder containing the above
I then built a CentOS 5.5 (i386) server using only the Base packages as I did with CentOS 6 and these MySQL libraries do not get installed.
This appears to be a new thing, is there any reason why a Base package install of CentOS 6 requires
libmysqlclient to be installed?