Bug#365647: Does libc6 2.3.6-7 break Sarge
Petr wrote:
> Hi,
> it seems related to #364338, #364516.
> There is "LD_ASSUME_KERNEL=2.4" in sarge version of /usr/sbin/mkinitrd.
> Could you downgrade your initrd-tools to sarge version
> and change it into "LD_ASSUME_KERNEL=2.4.1".
> Does it help ?
> Petr
smtp:~# uname -r
2.4.27-3-586tsc
smtp:~# apt-cache policy initrd-tools
initrd-tools:
Installed: 0.1.81.1
Candidate: 0.1.81.1
Version table:
0.1.84.1 0
650 http://mirrors.kernel.org testing/main Packages
*** 0.1.81.1 0
990 http://mirror.cs.wisc.edu stable/main Packages
100 /var/lib/dpkg/status
Before the change:
smtp:~# mkinitrd -o /boot/temp 2.4.27-3-686
/bin/bash: error while loading shared libraries: libdl.so.2: \
cannot open shared object file: No such file or directory
After the change:
smtp:~# mkinitrd -o /boot/temp 2.4.27-3-686
/bin/bash: error while loading shared libraries: libdl.so.2: \
cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: \
cannot open shared object file: No such file or directory
sort: error while loading shared libraries: libc.so.6: \
cannot open shared object file: No such file or directory
awk: error while loading shared libraries: libm.so.6: \
cannot open shared object file: No such file or directory
I also changed LD_ASSUME_KERNEL=2.4 to LD_ASSUME_KERNEL=2.4.1 in
/usr/share/initrd-tools/scripts/e2fsprogs and then was able to create
an initrd.img without the error.
It appears it is required to change it in both places.
Gary V
Reply to: