Bug#389381: kexec-tools: Please add configure --without-zlib
On Tue, 2007-05-29 at 12:03 +0200, Petter Reinholdtsen wrote: I suspect there are only two possible solutions to this problem. Either link the binaries statically (not a good idea in general, and not guaranteed to work), or get the zlib shared library moved to /lib/. Is this problem still present, btw? When using ldd, neither of the programs in version 1.101-kdump10-2 show libz as a dependency: % ldd /sbin/kexec linux-gate.so.1 = (0xe000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7e14000) /lib/ld-linux.so.2 (0xb7f5e000) % ldd /sbin/kdump linux-gate.so.1 = (0xe000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7e8) /lib/ld-linux.so.2 (0xb7fca000) % ia64 version is still compiled with libz support: # dpkg -l kexec-tools Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii kexec-tools20070330-1 kexec tool # ldd /sbin/kexec linux-gate.so.1 = (0xa000) libz.so.1 = /usr/lib/libz.so.1 (0x20048000) libc.so.6.1 = /lib/tls/libc.so.6.1 (0x2008) /lib/ld-linux-ia64.so.2 (0x2000) -- Khalid === [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#389381: kexec-tools: Please add configure --without-zlib
I suspect there are only two possible solutions to this problem. Either link the binaries statically (not a good idea in general, and not guaranteed to work), or get the zlib shared library moved to /lib/. Is this problem still present, btw? When using ldd, neither of the programs in version 1.101-kdump10-2 show libz as a dependency: % ldd /sbin/kexec linux-gate.so.1 = (0xe000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7e14000) /lib/ld-linux.so.2 (0xb7f5e000) % ldd /sbin/kdump linux-gate.so.1 = (0xe000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7e8) /lib/ld-linux.so.2 (0xb7fca000) % Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#389381: kexec-tools: Please add configure --without-zlib
Package: kexec-tools Version: 1.101-2 Severity: minor If the package is recompiled while zlib is installed, zlib support is automatically added. This is a problem for rebuilders, since libz.so lives in /usr/lib/, which might not be available when doing a kexec-reboot: The current practice to include kexec-support is to modify /etc/init.d/reboot, which is executed after unmounting all file systems, so no /usr/lib/libz.so is available. So kexec doesn't start and the reboot process hangs, becaue the shell seems not be be able to continue and is not able to fall back to the standard shutdown procedure. This happened to me while recompiling kexec-tools for my personel sarge-backport on a box with zlib-dev installed and is also by the backport.org backport: $ apt-cache show kexec-tools Package: kexec-tools ... Version: 1.101-2 Depends: libc6 (= 2.3.5-1) ... Version: 1.101-2pmhahn0 Depends: libc6 (= 2.3.2.ds1-21), zlib1g (= 1:1.2.1) ... Version: 1.101-1bpo1 Depends: libc6 (= 2.3.2.ds1-21), zlib1g (= 1:1.2.1) According to the output of configure --help, zlib-support is only needed for gamecube support: --without-zlib disable gamecube support -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (989, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-laptop Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages kexec-tools depends on: ii libc62.3.6.ds1-4 GNU C Library: Shared libraries kexec-tools recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]