Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to install MySQL-server-5.6.12-1.el6.i686.rpm on a Red Hat Enterprise 6.1 server.

I receive the following error:

rpm -Uvh MySQL-server-5.6.12-1.el6.i686.rpm
error: Failed dependencies:
        libaio.so.1 is needed by MySQL-server-5.6.12-1.el6.i686
        libaio.so.1(LIBAIO_0.1) is needed by MySQL-server-5.6.12-1.el6.i686
        libaio.so.1(LIBAIO_0.4) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6 is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.1) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.1.2) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.1.3) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.10) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.2) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.2.3) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.3) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.3.3) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.3.4) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.4) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.7) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.8) is needed by MySQL-server-5.6.12-1.el6.i686
        libcrypt.so.1 is needed by MySQL-server-5.6.12-1.el6.i686
        libcrypt.so.1(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libdl.so.2 is needed by MySQL-server-5.6.12-1.el6.i686
        libdl.so.2(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libdl.so.2(GLIBC_2.1) is needed by MySQL-server-5.6.12-1.el6.i686
        libgcc_s.so.1 is needed by MySQL-server-5.6.12-1.el6.i686
        libgcc_s.so.1(GCC_3.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libgcc_s.so.1(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libm.so.6 is needed by MySQL-server-5.6.12-1.el6.i686
        libm.so.6(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libm.so.6(GLIBC_2.1) is needed by MySQL-server-5.6.12-1.el6.i686
        libpthread.so.0 is needed by MySQL-server-5.6.12-1.el6.i686
        libpthread.so.0(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libpthread.so.0(GLIBC_2.1) is needed by MySQL-server-5.6.12-1.el6.i686
        libpthread.so.0(GLIBC_2.2) is needed by MySQL-server-5.6.12-1.el6.i686
        libpthread.so.0(GLIBC_2.3.2) is needed by MySQL-server-5.6.12-1.el6.i686
        librt.so.1 is needed by MySQL-server-5.6.12-1.el6.i686
        librt.so.1(GLIBC_2.2) is needed by MySQL-server-5.6.12-1.el6.i686
        libstdc++.so.6 is needed by MySQL-server-5.6.12-1.el6.i686
        libstdc++.so.6(CXXABI_1.3) is needed by MySQL-server-5.6.12-1.el6.i686
        libstdc++.so.6(GLIBCXX_3.4) is needed by MySQL-server-5.6.12-1.el6.i686
        libstdc++.so.6(GLIBCXX_3.4.11) is needed by MySQL-server-5.6.12-1.el6.i686

I recognize that these are programs I need to install. My question is where should I look to download these programs to install or should I just look for an older version of MySQL?

EDIT: In the end it was actually a system architecture problem. System architecture should always be kept in mind when installing components in linux. I was using a i686 rpm when it was a x86_x64 system

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

You can use YUM rep which updated version of MySQL, as in here:http://www.webtatic.com/packages/mysql55/

share|improve this answer
add comment

It's highly recommended to use the packages that come with your distribution. RHEL 6.1 comes with 5.1.52, and you should use that.

Actually - you should think about updating the machine to a later level.

share|improve this answer
    
If you sill want the latest version, use YUM repository with latest version, as in here: webtatic.com/packages/mysql55 –  Eran Ben-Natan Jun 9 '13 at 7:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.