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.sles 10.x86_64. rpm
error: Failed dependencies:
libc.so.6()(64bit) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libc.so.6(GLIBC_2.2.5)(64b it) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libc.so.6(GLIBC_2.3)(64bit ) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libc.so.6(GLIBC_2.3.4)(64b it) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libc.so.6(GLIBC_2.4)(64bit ) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libcrypt.so.1()(64bit) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libm.so.6()(64bit) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libm.so.6(GLIBC_2.2.5)(64b it) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libncurses.so.5()(64bit) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libnsl.so.1()(64bit) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libpthread.so.0()(64bit) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libpthread.so.0(GLIBC_2.2. 5)(64bit) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
libpthread.so.0(GLIBC_2.3. 2)(64bit) is needed by MySQL-client-community-5.0 .45-0.sles 10.x86_64
user@SRC-DEV-VAS123:~/soft > rpm -q glibc
glibc-2.4-31.5
user@SRC-DEV-VAS123:~/soft
error: Failed dependencies:
libc.so.6()(64bit) is needed by MySQL-client-community-5.0
libc.so.6(GLIBC_2.2.5)(64b
libc.so.6(GLIBC_2.3)(64bit
libc.so.6(GLIBC_2.3.4)(64b
libc.so.6(GLIBC_2.4)(64bit
libcrypt.so.1()(64bit) is needed by MySQL-client-community-5.0
libm.so.6()(64bit) is needed by MySQL-client-community-5.0
libm.so.6(GLIBC_2.2.5)(64b
libncurses.so.5()(64bit) is needed by MySQL-client-community-5.0
libnsl.so.1()(64bit) is needed by MySQL-client-community-5.0
libpthread.so.0()(64bit) is needed by MySQL-client-community-5.0
libpthread.so.0(GLIBC_2.2.
libpthread.so.0(GLIBC_2.3.
user@SRC-DEV-VAS123:~/soft
glibc-2.4-31.5
Have you checked Yast to install MySQL? It should be included there as well, and Yast takes care of the dependencies.
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?
ASKER
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?
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.
ASKER
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?
Can I use the repository of this distribution? Where is it located?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I was using the wrong rpm, I needed i586 not x86_64
rpm -ivh MySQL-client-community-5.0 .45-0.sles 10.i586.rp m
rpm -ivh MySQL-client-community-5.0 .45-0.sles 10.i586.rp m
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>
rpm -ivh MySQL-client-community-5.0
rpm -ivh MySQL-client-community-5.0
SRC-DEV-VAS123:/home/user/
SRC-DEV-VAS123:/home/user/
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
SRC-DEV-VAS123:/home/user/
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>