The attached patch should fix it
diff --git a/debian/changelog b/debian/changelog index 33f0f21..5c86dac 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +zlib (1:1.2.3.3.dfsg-14) unstable; urgency=low + + * transition to /usr/lib32 + + -- Thomas Cataldo <[email protected]> Tue, 23 Jun 2009 09:46:14 +0200 + zlib (1:1.2.3.3.dfsg-13) unstable; urgency=low * Add LPIA to the list of unaligned architectures to reduce the Ubuntu diff --git a/debian/control b/debian/control index f665c90..0c31c28 100644 --- a/debian/control +++ b/debian/control @@ -80,6 +80,7 @@ Description: compression library - 64 bit development Package: lib32z1 Architecture: amd64 ppc64 kfreebsd-amd64 Depends: ${shlibs:Depends} +Pre-Depends: libc6-i386 (>= 2.9-18) Replaces: ia32-libs (<< 1.5) Description: compression library - 32 bit runtime zlib is a library implementing the deflate compression method found diff --git a/debian/rules b/debian/rules index e558630..2207d49 100755 --- a/debian/rules +++ b/debian/rules @@ -185,13 +185,6 @@ binary-arch: build install $(EXTRA_INSTALL) dh_strip -s --dbg-package=zlib1g-dbg dh_compress -s dh_fixperms -s -ifeq ($(DEB_HOST_ARCH),amd64) - # amd64 uses a totally different directory for some great reason - mkdir -p debian/lib32z1/emul/ia32-linux/usr - mv debian/lib32z1/usr/lib32 debian/lib32z1/emul/ia32-linux/usr/lib - mkdir -p debian/lib32z1-dev/emul/ia32-linux/usr - mv debian/lib32z1-dev/usr/lib32 debian/lib32z1-dev/emul/ia32-linux/usr/lib -endif dh_makeshlibs -pzlib1g -V"zlib1g (>= 1:1.2.3.3.dfsg-1)" --add-udeb=zlib1g-udeb ifneq (,$(findstring $(DEB_HOST_ARCH), $(64-ARCHS))) dh_makeshlibs -plib64z1 -V"lib64z1 (>= 1:1.2.3.3.dfsg-1)"

