in reply to (OT) Redhat ES 3.0 and MySQL 4.0

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

Replies are listed 'Best First'.
Re^2: (OT) Redhat ES 3.0 and MySQL 4.0
by mkenney (Beadle) on Oct 07, 2004 at 01:55 UTC
    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