Red Hat Bugzilla – Bug 187473
Last modified: 2007-11-30 17:06:55 EST
perl-DBD-MySQL-1.2216-4 is uninstallable. It requires libmysqlclient.so.10
(which comes from RHEL4) when we only ship libmysqlclient.so.9 on RHEL 2.1:
Actually, libmysqlclient.so.10 IS shipped as part of the
RHEL-2.1 U6+ mysql-3.23.58-1.72.1 package (latest errata
release mysql-3.23.58-1.72.2). But the only 'mysqlclient*'
package shipped for RHEL-2.1 is mysqlclient9-3.23.22-8,
presumably shipped only for compatibility purposes for
existing clients linked against libmysqlclient.so.9 .
So, you need to install the 'mysql' RPM in order to
install the perl-DBD-MySQL-1.2216-4 RPM, and then it
installs and works fine .
Perhaps we should consider shipping a mysqlclient-* RPM,
which would contain only the libmysqlclient libraries -
but that's not what we have done.
Yes, perhaps the perl-DBD-MySQL RPM should specify 'Requires: mysql',
(it currently only specifies 'BuildRequires: mysql-devel') - but I
don't think this problem warrants a RHEL-2.1 perl-DBD-MySQL respin -
there is an easy workaround (install the mysql- RPM).
The mysql RPM is the *correct* RPM for this, as it is exactly the client-side
part of mysql (the server is in mysql-server). I concur this is NOTABUG.
I also concur with adding 'Requires: mysql' in future builds, though, just to
make it more clear what the package depends on.