mkenney has asked for the wisdom of the Perl Monks concerning the following question:

BIG TIME Egg on my face that you helped me expose! Your comments and questions led me to find out I've been trying to install the wrong RPM version! I was trying to install the IA64 version, not the Linux AMD64 / Intel EM64T version like my Xeon processors actually supports (I'm an idiot). I apologize greatly for the time you spent (but it did lead to the solution YET again!!) My donation has been made (They add together but just update the date of the donation), the advice and knowledge is more then worth it. I thank-you ALL yet again for your help!

Hiding in a hole of shame.

Mark Kenney
Donation Page
Please rememeber to make a donation when you get the wisdom of the Monk community. Its a small price to pay for your sanity...

Original Post:

I thank-you all again in advance. This has to be the best site I have found. My name is Mark Kenney and if you check the donations page, you will see that I'm willing to give back to support this excellent site.

I know that this problem is not PERL based but it is my current first step to moving my PERL application over to a new Dell 2850 server to run my PERL application. PLEASE HELP!

I'm getting multiple messages of error when I try to install MySQL 4.0 RPMs on the system (I'll attach the messages at the end). It is a Dell 2850 64-bit server running RedHat ES 3.0. I know I'm missing out on something that will also extend into when I go to remove PERL 5.8 and install PERL 5.6.1 (as earlier suggested when 5.8 had issues) and install DBI.

I swear to make another donation to the site to support all the workers and and the users who provide the great support I have gotten in the past. Thank-you all for the help you have given, I'll give back with anything I can...

Mark

Linux dellserver2.4.21-20.EL #1 SMP Wed Aug 18 20:34:58 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux

root@dellserver root# rpm -ivh MySQL-*.*
warning: MySQL-client-4.0.21-0.ia64.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
libc.so.6.1()(64bit) is needed by MySQL-client-4.0.21-0
libc.so.6.1(GLIBC_2.2)(64bit) is needed by MySQL-client-4.0.21-0
libc.so.6.1(GLIBC_2.3)(64bit) is needed by MySQL-client-4.0.21-0
libm.so.6.1()(64bit) is needed by MySQL-client-4.0.21-0
libm.so.6.1(GLIBC_2.2)(64bit) is needed by MySQL-client-4.0.21-0
libpthread.so.0(GLIBC_2.2)(64bit) is needed by MySQL-client-4.0.21-0
libc.so.6.1()(64bit) is needed by MySQL-devel-4.0.21-0
libc.so.6.1(GLIBC_2.2)(64bit) is needed by MySQL-devel-4.0.21-0
libm.so.6.1()(64bit) is needed by MySQL-devel-4.0.21-0
libpthread.so.0(GLIBC_2.2)(64bit) is needed by MySQL-devel-4.0.21-0
libc.so.6.1()(64bit) is needed by MySQL-server-4.0.21-0
libc.so.6.1(GLIBC_2.2)(64bit) is needed by MySQL-server-4.0.21-0
libc.so.6.1(GLIBC_2.3)(64bit) is needed by MySQL-server-4.0.21-0
libcrypt.so.1(GLIBC_2.0)(64bit) is needed by MySQL-server-4.0.21-0
libdl.so.2(GLIBC_2.0)(64bit) is needed by MySQL-server-4.0.21-0
libdl.so.2(GLIBC_2.1)(64bit) is needed by MySQL-server-4.0.21-0
libm.so.6.1()(64bit) is needed by MySQL-server-4.0.21-0
libm.so.6.1(GLIBC_2.2)(64bit) is needed by MySQL-server-4.0.21-0
libpthread.so.0(GLIBC_2.2)(64bit) is needed by MySQL-server-4.0.21-0
libc.so.6.1()(64bit) is needed by MySQL-shared-4.0.21-0
libc.so.6.1(GLIBC_2.2)(64bit) is needed by MySQL-shared-4.0.21-0
libc.so.6.1(GLIBC_2.3)(64bit) is needed by MySQL-shared-4.0.21-0
libm.so.6.1()(64bit) is needed by MySQL-shared-4.0.21-0
libm.so.6.1(GLIBC_2.2)(64bit) is needed by MySQL-shared-4.0.21-0
libpthread.so.0(GLIBC_2.2)(64bit) is needed by MySQL-shared-4.0.21-0

20041012 Edit by castaway: Changed title from 'Redhat ES 3.0 and MySQL 4.0'

Replies are listed 'Best First'.
Re: (OT) Redhat ES 3.0 and MySQL 4.0
by tachyon (Chancellor) on Oct 06, 2004 at 03:48 UTC

    Your RPM is linked to libraries that are not being found on your system, there are lots of possibilities. You need to make sure that you have the right binary/RPM for your system architecture and C/C++ libraries or compile it locally. You can get binaries or source code direct from mysql.org.

    A simple first step is to run ldconfig -v as root and see if that fixes the problem (this updates the shared library links)

    Anyway assuming that you have some sort of widespread configuration problem what do the following commands show:

    g++ -v ls -l /lib/lib?.so.* cat /etc/ld.so.conf locate -u locate libg+ libc.so libm.so libpthread.so libcrypt.so | sort

    Note locate -u is the update command and it will take a minute to run.

    cheers

    tachyon

      root@dellserver root# g++ -v
      Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
      Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=x86_64-redhat-linux
      Thread model: posix
      gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-42)

      root@dellserver root# ls -l /lib/lib?.so.*
      lrwxrwxrwx 1 root root 13 Sep 24 15:13 /lib/libc.so.6 -> libc-2.3.2.so
      lrwxrwxrwx 1 root root 13 Sep 24 15:13 /lib/libm.so.6 -> libm-2.3.2.so

      root@dellserver root# cat /etc/ld.so.conf
      /usr/kerberos/lib64
      /usr/X11R6/lib64
      /usr/lib/sane
      /usr/lib64/qt-3.1/lib
      root@dellserver root# locate -u

      root@dellserver root# locate libg+ libc.so libm.so libpthread.so libcrypt.so | sort
      /lib64/libcrypt.so.1
      /lib64/libc.so.6
      /lib64/libm.so.6
      /lib64/libpthread.so.0
      /lib64/tls/libc.so.6
      /lib64/tls/libm.so.6
      /lib64/tls/libpthread.so.0
      /lib/i686/libc.so.6
      /lib/i686/libm.so.6
      /lib/i686/libpthread.so.0
      /lib/libcrypt.so.1
      /lib/libc.so.6
      /lib/libm.so.6
      /lib/libpthread.so.0
      /lib/tls/libc.so.6
      /lib/tls/libm.so.6
      /lib/tls/libpthread.so.0
      /usr/lib64/libcrypt.so
      /usr/lib64/libc.so
      /usr/lib64/libm.so
      /usr/lib64/libpthread.so
      /usr/lib64/nptl/libc.so
      /usr/lib64/nptl/libpthread.so
      /usr/lib/libg++.so.2.7.2
      /usr/lib/libg++.so.2.7.2.8
Re: (OT) Redhat ES 3.0 and MySQL 4.0
by dragonchild (Archbishop) on Oct 06, 2004 at 13:12 UTC
    I would not install the RPMs. I use MySQL 4.1.4gamma on RH ES3 (32bit) and I have had absolutely no problems installing from the binary. Personally, I don't trust RPMs - I prefer compiling my own from source or using binary installs. Tarballs rule, imho.

    I'd try that before doing too much more.

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

Re: (OT) Redhat ES 3.0 and MySQL 4.0
by Errto (Vicar) on Oct 06, 2004 at 03:26 UTC

    I haven't tried installing on a 64 bit server, but I notice one thing off the bat: based on the capitalization of the modules it looks like you're trying to install the rpm's from mysql.com, instead of the ones that ship with Red Hat. There appears to be a conflict between the RPMs and your glibc. I don't have access to my work machine here, so I don't remember what version of glibc (or mysql for that matter) comes with RHEL3, but I would try installing the shipped RPMs first and go from there.

    Update: It also looks like you're installing the ia64 RPMs on an AMD64 machine. Try downloading the AMD64 RPMs from mysql and see if that works.

        You make a good point about the Dell. But nonetheless look at the uname -a that he posted. It says x86_64, which is the same thing as AMD64.
        You had it right for the most part, I was trying to install the IA64 version. I'm an idiot, read the updated question above for a real update on how stupid I am. Thank-you for your help!!

        Mark
      Does RedHat have MySQL 4.0 RPM modules? the version that was installed was in the 3.x series. I would love to use the ones they suply so I could use them for support.

      Thanks for your time

      Mark
        $ man up2date $ rhn_register $ up2date --showall
      The version from Redhat is 3.23 from what I can tell. I need 4.0 for a IVR interface issue and the better clustering suport. I'm sure that many others have figured out a better way to solve the issues but for me an update to 4.0 fixed all the issues.

      Mark