Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78678 - mysql-4.0.23-r1 doesn't create a valid libmysqlclient.so
Summary: mysql-4.0.23-r1 doesn't create a valid libmysqlclient.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High critical (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
: 75548 78672 78724 78733 78800 82417 (view as bug list)
Depends on:
Blocks: 77805 78677
  Show dependency tree
 
Reported: 2005-01-19 06:36 UTC by petre rodan (RETIRED)
Modified: 2005-02-17 16:58 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description petre rodan (RETIRED) gentoo-dev 2005-01-19 06:36:12 UTC
ls -al /usr/lib/mysql/libmysql*
lrwxrwxrwx  1 root root      21 Jan 19 12:22 /usr/lib/mysql/libmysqlclient -> libmysqlclient.12.0.0
lrwxrwxrwx  1 root root      21 Jan 19 12:22 /usr/lib/mysql/libmysqlclient.12 -> libmysqlclient.12.0.0
-rwxr-xr-x  1 root root  295144 Jan 19 12:22 /usr/lib/mysql/libmysqlclient.12.0.0
-rw-r--r--  1 root root  470414 Jan 19 12:22 /usr/lib/mysql/libmysqlclient.a
-rwxr-xr-x  1 root root     879 Jan 19 12:22 /usr/lib/mysql/libmysqlclient.la
lrwxrwxrwx  1 root root      23 Jan 19 12:22 /usr/lib/mysql/libmysqlclient_r -> libmysqlclient_r.12.0.0
lrwxrwxrwx  1 root root      23 Jan 19 12:22 /usr/lib/mysql/libmysqlclient_r.12 -> libmysqlclient_r.12.0.0
-rwxr-xr-x  1 root root  303272 Jan 19 12:22 /usr/lib/mysql/libmysqlclient_r.12.0.0

note that there is no .so extension for any of the above

applications linked against it complain about not finding the libmysqlclient lib.

Portage 2.0.51-r3 (selinux/2004.1/x86, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Xeon(TM) CPU 3.06GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/service"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/var/share/vhosts/0/gentoo/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks loadpolicy sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://ftp.lug.ro/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage_2"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="crypt curl gd gdbm hardened hardenedphp imagemagick innodb jpeg libwww mysql ncurses nls pam perl pic pie png postgres python readline selinux snmp spell ssl truetype x86 xml xml2 zlib"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-01-19 06:42:23 UTC
Me to. Argh, I have just upgraded. OK, back to 4.0.22 :-(
Comment 2 Micoto Szillat 2005-01-19 07:55:15 UTC
Got the same problem (which broke my email server *d'oh).
There is no libmysql* in /usr/lib either, recompiling linked apps fails or seemingly changes nothing.
How did this ebuild become stable?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-01-19 07:58:28 UTC
Ah, this one sucks big time. Broke my courier-imap, postfix, Apache+PHP, pure-ftpd... Please someone mask this package immediately until this is fixed! 
Comment 4 Xenofon 2005-01-19 08:16:15 UTC
Yeah same for me... back to 4.0.22
Comment 5 Dave O'Connor 2005-01-19 08:33:54 UTC
I got the same:

I tried emergin mysql and mod_php again, no success.

Running system checks
checking for missing declarations of reentrant functions... done
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking for socket... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... no
checking for __yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for dlopen... yes
checking for sin in -lm... yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... yes
checking for res_search in -lbind... no
checking for __res_search in -lbind... no
checking for res_search in -lsocket... no
checking for __res_search in -lsocket... no
checking for inet_aton... yes
checking for dn_skipname... no
checking for __dn_skipname... no
checking for dn_skipname in -lresolv... no
checking for __dn_skipname in -lresolv... yes
checking for dn_skipname in -lbind... no
checking for __dn_skipname in -lbind... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fclose declaration... ok
checking for dirent.h... yes
checking for ApplicationServices/ApplicationServices.h... no
checking for sys/param.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for netinet/in.h... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for crypt.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for monetary.h... yes
checking for mach-o/dyld.h... no
checking for netdb.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/bitypes.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling

!!! ERROR: dev-php/mod_php-4.3.10 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

greyskull root # revdep-rebuild

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/auto/DBD/mysql/mysql.so (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/bounce (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/cleanup (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/error (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/flush (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/lmtp (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/local (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/master (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/oqmgr (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/pickup (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/pipe (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/proxymap (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/qmgr (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/qmqpd (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/showq (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/smtp (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/smtpd (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/spawn (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/tlsmgr (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/trivial-rewrite (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/verify (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/virtual (requires libmysqlclient.so.12)
  broken /usr/lib/postfix/nqmgr (requires libmysqlclient.so.12)
  broken /usr/lib/samba/pdb/mysql.so (requires libmysqlclient.so.12)
  broken /usr/lib/apache2-extramodules/libphp4.so (requires libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12)
  broken /usr/lib/libwwwtrans.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwcache.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwdir.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libxmltok.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libxmlparse.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libmd5.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwssl.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwutils.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwcore.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwstream.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwfile.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwftp.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwgopher.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwmime.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwhttp.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwnews.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwtelnet.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwhtml.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwapp.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwinit.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwmux.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwxml.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwzip.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libwwwsql.so.0.1.0 (requires libmysqlclient.so.12)
  broken /usr/lib/libpics.so.0.0.0 (requires libmysqlclient.so.12)
  broken /usr/bin/php (requires libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12)
  broken /usr/bin/www (requires libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12)
  broken /usr/bin/webbot (requires libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12)
  broken /usr/bin/w3c (requires libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12 libmysqlclient.so.12)
  broken /usr/bin/srttool (requires libppm.so.9)
  broken /usr/bin/subtitle2pgm (requires libppm.so.9 libpbm.so.9)
  broken /usr/bin/subtitle2vobsub (requires libppm.so.9)
  broken /usr/bin/mysql-administrator-bin (requires libmysqlclient.so.12)
  broken /usr/sbin/postfix (requires libmysqlclient.so.12)
  broken /usr/sbin/postmap (requires libmysqlclient.so.12)
  broken /usr/sbin/postsuper (requires libmysqlclient.so.12)
  broken /usr/sbin/postqueue (requires libmysqlclient.so.12)
  broken /usr/sbin/sendmail (requires libmysqlclient.so.12)
  broken /usr/sbin/postkick (requires libmysqlclient.so.12)
  broken /usr/sbin/postlock (requires libmysqlclient.so.12)
  broken /usr/sbin/postlog (requires libmysqlclient.so.12)
  broken /usr/sbin/postalias (requires libmysqlclient.so.12)
  broken /usr/sbin/postdrop (requires libmysqlclient.so.12)
  broken /usr/sbin/postcat (requires libmysqlclient.so.12)
  broken /usr/sbin/postconf (requires libmysqlclient.so.12)
ldd: warning: you do not have execution permission for `/usr/qt/3/plugins/sqldrivers/libqsqlmysql.so'
  broken /usr/qt/3/plugins/sqldrivers/libqsqlmysql.so (requires libmysqlclient.so.12)
ldd: warning: you do not have execution permission for `/opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/bsddb.so'
  broken /opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/bsddb.so (requires libdb-3.1.so)
ldd: warning: you do not have execution permission for `/opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/mpz.so'
  broken /opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/mpz.so (requires libgmp.so.3)
ldd: warning: you do not have execution permission for `/opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/_tkinter.so'
  broken /opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/_tkinter.so (requires libtk8.3.so libtcl8.3.so)
  broken /opt/DBDesigner4/Linuxlib/libdbxoodbc.so (requires libodbc.so.1 libborunwind.so.6.0)
  broken /opt/cxoffice/lib/wine/winenas.drv.so (requires libwine.so.1 libaudio.so.2)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order...
Warning: Failed to resolve package order.
Will merge in "random" order!
Possible reasons:
- Some ebuilds are no more in portage tree.
- Some ebuilds are masked, try to change ACCEPT_KEYWORDS="~<your platform>"
  and/or use /etc/portage/package.unmask
..... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot --nodeps  =app-office/openoffice-bin-1.1.4 =dev-db/mysql-administrator-1.0.13 =dev-perl/DBD-mysql-2.1027 =dev-php/mod_php-4.3.10 =dev-php/php-4.3.10 =mail-mta/postfix-2.1.5-r1 =media-video/transcode-0.6.11 =net-fs/samba-3.0.9-r1 =net-libs/libwww-5.4.0-r2 =x11-libs/qt-3.3.3
..........
Calculating dependencies -
emerge: there are no ebuilds to satisfy "=dev-db/mysql-administrator-1.0.13".


Result is not OK, you have following choices:
- if emerge failed during build, fix the problems and re-run revdep-rebuild
    or
- use -X or --package-names as first argument (try to rebuild package, not exact  ebuild - ignores SLOT!)
    or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
    or
- modify the above emerge command and run it manually
    or
- compile or unmerge unsatisfied packages manually, remove temporary files and
  try again (you can edit package/ebuild list first)

To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_*


----
greyskull root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dba encode esd f77 fam flac font-server foomaticdb fortran freetds gdbm gif gnome gpm gtk gtk2 imagemagick imlib java jpeg junit kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png postgres python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib"
Comment 6 Arnaud Launay 2005-01-19 09:17:58 UTC
I'd bet on
+       libtoolize --copy --force
which is one diff between ebuild 4.0.22 and 4.0.23-r1

Or they changed something in the source of mysql.
Comment 7 Tuan Van (RETIRED) gentoo-dev 2005-01-19 09:32:18 UTC
*** Bug 75548 has been marked as a duplicate of this bug. ***
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-19 09:38:05 UTC
*** Bug 78672 has been marked as a duplicate of this bug. ***
Comment 9 Adam Jakubek 2005-01-19 12:09:12 UTC
This bug has been already fixed upstream in version 4.0.23a.
Comment 10 Robert Coie (RETIRED) gentoo-dev 2005-01-19 12:28:48 UTC
Libtool 1.5.10 seems to make one immune to this problem, if anybody affected
would like to try upgrading their libtool.  I will investigate the changes in
upstream 4.0.23a.
Comment 11 Fernando (likewhoa) 2005-01-19 13:56:40 UTC
agreed with Libtool 1.5.10 upgrade fixing this bug..

____________________________________________________

-[root]-# uname -r; /lib/tls/libc.so.6;  emerge info ; emerge libtool mysql -pv
2.6.10-ck4
GNU C Library 20041102 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7).
Compiled on a Linux 2.6.8 system on 2005-01-16.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        The C stubs add-on version 2.1.2.
        GNU Libidn by Simon Josefsson
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-ck4 i686)
=================================================================
System uname: 2.6.10-ck4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13
Automake: sys-devel/automake-1.8.5-r2,sys-devel/automake-1.5,sys-devel/automake-1.4_p6,sys-devel/automake-1.6.3,sys-devel/automake-1.7.9,sys-devel/automake-1.9.4
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.10-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/xdm/Xaccess /etc/X11/xdm/Xservers /etc/X11/xdm/xdm-config /etc/X11/xorg.conf /etc/apache2/conf/apache2.conf /etc/apf/conf.apf /etc/conf.d/rc /etc/fstab /etc/gconf /etc/init.d/bootmisc /etc/init.d/localmount /etc/init.d/modules /etc/modules.autoload.d/kernel-2.6 /etc/security/limits.conf /etc/ssh/sshd_config /etc/terminfo /etc/xinetd.d/xvncserver /opt/vmware/bin/vmware-config.pl /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 apm arts avi bcmath bitmap-fonts bzlib calendar caps cdr crypt ctype cups curl curlwrappers directfb divx4linux dvd dvdr encode exitf f77 fbcon font-server foomaticdb fortran gd gdbm gif gphoto2 gpm gtk gtk2 imagemagick imlib java jpeg lcms ldap libg++ libwww mad maildir mhash mikmod mime ming mmx motif mozilla mpeg mysql mysqli nas ncurses nls nptl objc oggvorbis opengl oss pam pdflib perl php png posix ppds prelude python qt quicktime readline sasl sdl slang sock5 sockets spell spl sse ssl svga tcltk tcpd tokenizer truetype truetype-fonts type1-fonts usb vhosts x86 xine xml xml2 xmms xv xvid zlib"


These are the packages that I would merge, in order:

Calculating dependencies   ...done!
[ebuild   R   ] sys-devel/libtool-1.5.10-r2  (-uclibc) 0 kB 
[ebuild   R   ] dev-db/mysql-4.0.23-r1  -berkdb -debug -innodb +perl +readline (-selinux) +ssl -static +tcpd 0 kB 

Total size of downloads: 0 kB

--(l33t)-(297/pts/1)-(16:52:11/Wednesday-January-19-2005)--

and 
ls -al /usr/lib/mysql/libmysql*
-rw-r--r--  1 root root 349K Jan 19 16:45 /usr/lib/mysql/libmysqlclient.a
-rwxr-xr-x  1 root root  893 Jan 19 16:45 /usr/lib/mysql/libmysqlclient.la*
lrwxrwxrwx  1 root root   20 Jan 19 16:45 /usr/lib/mysql/libmysqlclient.so -> ../libmysqlclient.so*
-rw-r--r--  1 root root 357K Jan 19 16:45 /usr/lib/mysql/libmysqlclient_r.a
-rwxr-xr-x  1 root root  907 Jan 19 16:45 /usr/lib/mysql/libmysqlclient_r.la*
lrwxrwxrwx  1 root root   22 Jan 19 16:45 /usr/lib/mysql/libmysqlclient_r.so -> ../libmysqlclient_r.so*
-rw-r--r--  1 root root 3.4M Jan 19 16:45 /usr/lib/mysql/libmysqld.a

enjoy..
Comment 12 Tuan Van (RETIRED) gentoo-dev 2005-01-19 14:27:08 UTC
*** Bug 78724 has been marked as a duplicate of this bug. ***
Comment 13 Mike Nerone 2005-01-19 14:37:37 UTC
If I wasn't so easy going, I'd be pretty perturbed about this having been marked as stable. :P
Comment 14 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-19 14:40:32 UTC
I've marked 4.0.23* as ~arch again (partially due to this bug, and also due to another nasty 4.0.23 bug that came up).

All of my dev boxes are on the new libtool, since it fixed a major problem I had, so that was why I didn't run into this problem in my testing.

Comment 15 Jakub Moc (RETIRED) gentoo-dev 2005-01-19 14:43:53 UTC
Fernando, Robert: Since libtool does NOT fix another ugly one (http://bugs.mysql.com/bug.php?id=7515), is seems as a pretty pointless workaround. :-(
Comment 16 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-19 14:48:31 UTC
*** Bug 78733 has been marked as a duplicate of this bug. ***
Comment 17 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-19 15:20:13 UTC
I've put upstreams 4.0.23a in the tree now, that seems to fix this for everybody.

Please note that due to another upstream bug (http://bugs.mysql.com/bug.php?id=7515), I do NOT recommend using 4.0.23*, unless you are affected by the corner-case bugs in 4.0.22, and you aren't affected by the upstream bug.

I believe 4.0.24 will come out within the next week.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2005-01-19 15:32:31 UTC
Robin: Sorry to ask again, but could you confirm that 4.0.23a does NOT fix http://bugs.mysql.com/bug.php?id=7515 ? I
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2005-01-19 15:32:31 UTC
Robin: Sorry to ask again, but could you confirm that 4.0.23a does NOT fix http://bugs.mysql.com/bug.php?id=7515 ? I´m even more confused now b/c this bug is marked as closed according to MySQL bugzilla and should be "incorporated into the
next release" which logically seems to be 4.0.23a, but looks like it´s not the case. 
Comment 20 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-19 15:46:25 UTC
A diff between 4.0.23 and 4.0.23a provides the following results:

curie-int shm # diffstat diff
 Makefile.in  |    2
 config.guess |   71 ++---
 config.sub   |   25 -
 configure    |    2
 configure.in |    2
 ltmain.sh    |  760 ++++++++++++++++++++++++++++++++++-------------------------
 6 files changed, 492 insertions(+), 370 deletions(-)

So there is definetly no fix for the epoch issue.
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2005-01-19 16:02:59 UTC
Thanks, Robin. All right, maybe just one of those days for MySQL. :-/
Comment 22 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-20 07:40:57 UTC
*** Bug 78800 has been marked as a duplicate of this bug. ***
Comment 23 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-22 11:29:31 UTC
*** Bug 79118 has been marked as a duplicate of this bug. ***
Comment 24 Albert Lash 2005-02-17 16:58:44 UTC
*** Bug 82417 has been marked as a duplicate of this bug. ***