mysql install problem with redhat rpm

Reuben D. Budiardja techlist at voyager.phys.utk.edu
Fri Apr 16 13:56:23 UTC 2004


On Thursday 15 April 2004 06:41 pm, Ben Yau wrote:
> 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

For things like this, if you have dependency and such, the easiest and safest 
way is to install all of the RPMs and the dependancies in one line. So in 
your case, this would be:

#> rpm -ivh mysql-3.23.58-1.80.i386.rpm perl-DBD-MySQL-2.1017-3.i386.rpm

RPM then can figure out what it needs to do.

RDB
-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
                 - Linus Torvalds -





More information about the redhat-list mailing list