We help IT Professionals succeed at work.

MySQL client install fails because of glibc

1,746 Views
Last Modified: 2013-12-05
My install of the MySQL fails because of dependencies but the missing package is installed. Do I really all these glibc versions?

user@SRC-DEV-VAS123:~/soft> rpm -ivh MySQL-client-community-5.0.45-0.sles10.x86_64.rpm
error: Failed dependencies:
        libc.so.6()(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libc.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libc.so.6(GLIBC_2.3)(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libc.so.6(GLIBC_2.3.4)(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libc.so.6(GLIBC_2.4)(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libcrypt.so.1()(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libm.so.6()(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libm.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libncurses.so.5()(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libnsl.so.1()(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libpthread.so.0()(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
        libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by MySQL-client-community-5.0.45-0.sles10.x86_64
user@SRC-DEV-VAS123:~/soft> rpm -q glibc
glibc-2.4-31.5
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
Have you checked Yast to install MySQL? It should be included there as well, and Yast takes care of the dependencies.
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
I don't use SuSE, but it surprises me that Server isn't in the repositories. Are you sure about that? Do you have all the reps in the list?

Author

Commented:
No, I have only one repository in the list, only this repository http://download.opensuse.org/distribution/SL-10.0-OSS/inst-source/

Should I add more?
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
Are you using opensuse or the official Suse version? In the Link you posted earlier I'd have thought it was enterprise suse, but your repository above seems to point to opensuse. I'm sure that for enterprise Suse you should have the full MySQL with server included. It may not be the newest version, but that is normal.

Author

Commented:
I'm using the enterprise version distributed as VMWare image http://download.novell.com/Download?buildid=tAXE3xLpiCE~

Can I use the repository of this distribution? Where is it located?

CERTIFIED EXPERT
Most Valuable Expert 2015
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
I was using the wrong rpm, I needed i586 not x86_64

rpm -ivh MySQL-client-community-5.0.45-0.sles10.i586.rpm
rpm -ivh MySQL-client-community-5.0.45-0.sles10.i586.rpm
SRC-DEV-VAS123:/home/user/soft # /usr/bin/mysqladmin -u root password '*****'
SRC-DEV-VAS123:/home/user/soft # mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
SRC-DEV-VAS123:/home/user/soft # mysql -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.0.45-community MySQL Community Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.