On Thu, Jan 27, 2005 at 01:19:36PM +0100, Christoph Berg wrote:
> Re: Henning Makholm in <878y6jbjev.fsf@kreon.lan.henning.makholm.net>
> > Huh? I run one machine that is mostly woody but with sarge's libc6 and
> > a few selected other sarge packages. This seems to work impeccably in
> > general (I do know where to point my anger at when it doesn't, but in
> > those casses libc has never been involved). If sarge's libc6 were
> > *not* backwards compatible, it would have been called libc7.
> I upgraded a Woody box last week to Sarge's glibc/apt/dpkg/
> openoffice.org/perl last week. The result was that Woody's mysql does
> not work with Sarge's glibc. It complains about missing GLIBC_2.2
> symbols. I've then also upgraded mysql and things were fine again.
$ ldd -d -r /usr/bin/mysqladmin
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x4002a000)
libmysqlclient.so.10 => /usr/lib/libmysqlclient.so.10 (0x40073000)
libz.so.1 => /usr/lib/libz.so.1 (0x400a9000)
libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0x400bb000)
libnsl.so.1 => /lib/tls/libnsl.so.1 (0x400e8000)
libm.so.6 => /lib/tls/libm.so.6 (0x400fc000)
libc.so.6 => /lib/tls/libc.so.6 (0x4011e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (/usr/lib/libmysqlclient.so.10)
$
This is a bug in the woody libmysqlclient10 package, which should not have
been using errno in this way.
It also only occurs when the TLS-enabled glibc is used, which is only the
case if you are running a glibc kernel.
So, partial upgrades are supported if you don't reboot to a 2.6 kernel prior
to also upgrading libmysqlclient10 (or mysql-server). Cc:ed to the glibc
folks, so they can consider how this should be handled.
--
Steve Langasek
postmodern programmer
Attachment:
signature.asc
Description: Digital signature