Re: mysql install problem with redhat rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@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 -


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux