-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >Description: Most Linux binaries available from mysql.com are compiled to work with glibc versions as old as 2.0, but the latest glibc 2.3.2 shipped by RedHat has apparently dropped support for 2.0 symbols. This is what you get from mysqlcc:
./mysqlcc: relocation error: ./mysqlcc: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference >How-To-Repeat: Install RH 8.1.92 (Phoebe) or RawHide and run mysqlcc or try using libmysql.so shipped with MySQL 4.0.7 RPM binaries. >Fix: Recompile on a system with glibc 2.1 or higher. >Originator: Bernardo Innocenti <[EMAIL PROTECTED]> >MySQL support: none >Synopsis: MySQL binaries built for glibc 2.0 don't work with latest glibc 2.3.2 >Severity: serious >Priority: medium >Category: mysql >Class: sw-bug >Release: mysql-3.23.54 (Source distribution) >Environment: System: Linux beetle.trilan 2.4.20-2.2custom #3 Thu Dec 26 19:04:19 CET 2002 i686 athlon i386 GNU/Linux Architecture: i686 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.1/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=i386-redhat-linux Thread model: posix gcc version 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2) Compilation info: CC='i386-redhat-linux-gcc' CFLAGS='-O2 -march=i386 -mcpu=i686 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE' CXX='i386-redhat-linux-g++' CXXFLAGS='-O2 -march=i386 -mcpu=i686 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-rtti -fno-exceptions' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 Dec 28 08:52 /lib/libc.so.6 -> libc-2.3.1.so - -rwxr-xr-x 1 root root 1226072 Dec 19 12:41 /lib/libc-2.3.1.so - -rw-r--r-- 1 root root 2231738 Dec 19 11:44 /usr/lib/libc.a - -rw-r--r-- 1 root root 204 Dec 19 11:35 /usr/lib/libc.so Configure command: ./configure '--host=i386-redhat-linux' '--build=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--without-readline' '--without-debug' '--enable-shared' '--with-extra-charsets=complex' '--with-bench' '--localstatedir=/var/lib/mysql' '--with-unix-socket-path=/var/lib/mysql/mysql.sock' '--with-mysqld-user=mysql' '--with-extra-charsets=all' '--with-innodb' '--enable-local-infile' '--enable-large-files=yes' '--enable-largefile=yes' '--with-berkeley-db-includes=/usr/include' '--with-berkeley-db-libs=/usr/lib' '--with-thread-safe-client' 'CFLAGS=-O2 -march=i386 -mcpu=i686 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE' 'CXXFLAGS=-O2 -march=i386 -mcpu=i686 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-rtti -fno-exceptions' 'build_alias=i386-redhat-linux' 'host_alias=i386-redhat-linux' 'target_alias=i386-redhat-linux-gnu' - -- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+DlpBltU4TfxqZsoRAnCrAJ4kcmiOFDTUW3Bt18Z4pXyj0fINxQCeMZwA rvWHfVuUEWdWbF4ZqwWMv5Q= =Nhdd -----END PGP SIGNATURE----- --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php