mysql install problem with redhat rpm

Ben Yau byau at cardcommerce.com
Thu Apr 15 22:41:15 UTC 2004


Hi everybody

I did a quick search on the mailing list archive for "libmysql install" but
no mathces so hopefully this hasn't been asked yet (for awhile at least).

I want to install mysql (mostly for client purposes) and am running into a
"chicken and egg" problem.

[root at netmanage01 src]# rpm -i mysql-3.23.58-1.80.i386.rpm
error: Failed dependencies:
        perl-DBD-MySQL is needed by mysql-3.23.58-1.80

so I try to install perl-DBD-MySQL

[root at netmanage01 src]# rpm -i perl-DBD-MySQL-2.1017-3.i386.rpm
error: Failed dependencies:
        libmysqlclient.so.10 is needed by perl-DBD-MySQL-2.1017-3

Unfortunatley, guess where libmysqlclient.so.10 is ?

[root at netmanage01 src]# rpm -q -p mysql-3.23.58-1.80.i386.rpm --list | grep
libmysqlclient.so.10
/usr/lib/mysql/libmysqlclient.so.10
/usr/lib/mysql/libmysqlclient.so.10.0.0
[root at netmanage01 src]#

Any help here?   Chicken and Egg?

So i didn't find in the man page how to install just one file.  Can I do
that?  Or should I just use --force and see what happens?

I'm a bit confused how to go forth.  Any help would be appreciated.  THanks!

Ben






More information about the redhat-list mailing list