Link to home
Start Free TrialLog in
Avatar of ostraaten
ostraaten

asked on

MySQL client install fails because of glibc

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
Avatar of rindi
rindi
Flag of Switzerland image

Have you checked Yast to install MySQL? It should be included there as well, and Yast takes care of the dependencies.
Avatar of ostraaten
ostraaten

ASKER

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?
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?
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.
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?

ASKER CERTIFIED SOLUTION
Avatar of rindi
rindi
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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>