Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79424 - zlib-1.2.2 upgrade lost /lib/libz.so.1
Summary: zlib-1.2.2 upgrade lost /lib/libz.so.1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-25 02:00 UTC by Gudleik Rasch
Modified: 2005-07-06 05:13 UTC (History)
1 user (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 Gudleik Rasch 2005-01-25 02:00:21 UTC
After upgrading from sys-libs/zlib-1.2.1-r3 to sys-libs/zlib-1.2.2 a lot of applications/libraries became unusable.

In sys-libs/zlib-1.2.1-r3 contains /lib/libz.so.1 while the new version of zlib doesn't have this:
; ldd /usr/bin/file
        linux-gate.so.1 =>  (0xffffe000)
        libmagic.so.1 => /usr/lib/libmagic.so.1 (0xb7fd6000)
        libz.so.1 => not found
        libc.so.6 => /lib/libc.so.6 (0xb7ebf000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fe9000)
        libz.so.1 => not found

revdep-rebuild will try to re-emerge 25 packages on my system. Hopefully it will work. 
Among the more "important" applications that are broken is: openssh, file, mysql, expect, lynx, apache, php, ghostscript

; emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Pentium III (Coppermine)
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-r1,sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks noauto noclean sandbox sfperms usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 acpi apache2 berkdb bitmap-fonts cdb crypt cups encode f77 fam font-server foomaticdb fortran freetds freetype gd gdbm gif gpm imagemagick imap ipv6 jpeg ldap libg++ libwww maildir mpeg mssql mysql ncurses nls pam pdflib perl php png python readline slang snmp spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts vhosts xml xml2 xsl zlib"
Comment 1 SpanKY gentoo-dev 2005-01-25 06:52:11 UTC
works fine for me
root@uclibc-nemo 0 / # grep libz.so /var/db/pkg/sys-libs/zlib-1.2.2/CONTENTS
obj /lib/libz.so.1.2.2 75bdb96c6e19bfd5bdf9176730d65461 1104938873
sym /lib/libz.so -> libz.so.1.2.2 1104938873
sym /lib/libz.so.1 -> libz.so.1.2.2 1104938873
sym /usr/lib/libz.so -> /lib/libz.so.1.2.2 1104938873
Comment 2 Gudleik Rasch 2005-01-25 10:02:44 UTC
hm, strange.
Anyways, I did this and now everything is ok:

; quickpkg zlib && emerge -k "=sys-libs/zlib-1.2.2"
Comment 3 sf 2005-07-06 05:13:51 UTC
After emerge zlib:

# grep libz.so /var/db/pkg/sys-libs/zlib-1.2.2/CONTENTS
sym /lib/libz.so.1 -> libz.so.1.2.2 1120651469
sym /lib/libz.so -> libz.so.1.2.2 1120651469
obj /lib/libz.so.1.2.2 24bcc506c1214bd2105d31ba51f6f792 1120651469
obj /usr/lib/libz.so 85a4c4ea1d125b4b1ac2b6c61d16fe79 1120651469

# ll /lib/libz.so* /usr/lib/libz.so*
lrwxrwxrwx  1 root root    13 Jul  6 14:04 /lib/libz.so -> libz.so.1.2.2
lrwxrwxrwx  1 root root    13 Jul  6 14:04 /lib/libz.so.1 -> libz.so.1.2.2
-rwxr-xr-x  1 root root 57844 Jul  6 14:04 /lib/libz.so.1.2.2
-rwxr-xr-x  1 root root   293 Jul  6 14:04 /usr/lib/libz.so

This bug breaks git: http://article.gmane.org/gmane.comp.version-control.git/5678