- 论坛徽章:
- 0
|
环境debian Linux 2.4.27-2-386
在安装新内核的时侯出现了错误,不知为何,错误现场如下:
- testserver:/usr/src# dpkg -i linux-image-2.4.27_20070127.0228_i386.deb
- (Reading database ... 24855 files and directories currently installed.)
- Preparing to replace linux-image-2.4.27 20070127.0228 (using linux-image-2.4.27_20070127.0228_i386.deb) ...
- Done.
- Unpacking replacement linux-image-2.4.27 ...
- Running postrm hook script /sbin/update-grub.
- Searching for GRUB installation directory ... found: /boot/grub .
- Setting up linux-image-2.4.27 (20070127.0228) ...
- Running depmod.
- Finding valid ramdisk creators.
- Using mkinitrd to build the ramdisk.
- /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
- Not updating initrd symbolic links since we are being updated/reinstalled
- (20070127.0228 was configured last, according to dpkg)
- Not updating image symbolic links since we are being updated/reinstalled
- (20070127.0228 was configured last, according to dpkg)
- Running postinst hook script /sbin/update-grub.
- Searching for GRUB installation directory ... found: /boot/grub .
复制代码 我执行如下命令的结果:
- ldd /bin/bash
- libncurses.so.5 => /lib/libncurses.so.5 (0x40019000)
- libdl.so.2 => /lib/libdl.so.2 (0x4005a000)
- libc.so.6 => /lib/libc.so.6 (0x4005e000)
- /lib/ld-linux.so.2 (0x40000000)
复制代码
在我机器上 /lib下有关libc和libdl的文件是:
- -rwxr-xr-x 1 root root 1147736 2006-11-05 08:19 /lib/libc-2.3.6.so
- lrwxrwxrwx 1 root root 13 2007-01-24 19:38 /lib/libc.so.6 -> libc-2.3.6.so
- -rw-r--r-- 1 root root 9592 2006-11-05 08:19 /lib/libdl-2.3.6.so
- lrwxrwxrwx 1 root root 14 2007-01-24 19:38 /lib/libdl.so.2 -> libdl-2.3.6.so
复制代码
不知是什么原因,请大家帮忙,多谢!
[ 本帖最后由 inin 于 2007-1-27 03:52 编辑 ] |
|