[BusyBox] BusyBox + Glibc chroot problem

Bastian Blank waldi at debian.org
Mon Dec 6 17:05:36 UTC 2004


On Mon, Dec 06, 2004 at 09:59:24PM +0530, Shuveb Hussain wrote:
> execve("/bin/sh", ["/bin/sh"], [/* 44 vars */]) = 0
> brk(0)                                  = 0x808c8d0
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> open("/home/shuveb/embtest//etc/ld.so.cache", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> open("/home/shuveb/embtest//lib/i686/mmx/libc.so.6", O_RDONLY) = -1
> ENOENT (No such file or directory)
> stat64("/home/shuveb/embtest//lib/i686/mmx", 0xbfffef30) = -1 ENOENT (No
> such file or directory)
> open("/home/shuveb/embtest//lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> stat64("/home/shuveb/embtest//lib/i686", 0xbfffef30) = -1 ENOENT (No
> such file or directory)
> open("/home/shuveb/embtest//lib/mmx/libc.so.6", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> stat64("/home/shuveb/embtest//lib/mmx", 0xbfffef30) = -1 ENOENT (No such
> file or directory)
> open("/home/shuveb/embtest//lib/libc.so.6", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> stat64("/home/shuveb/embtest//lib", 0xbfffef30) = -1 ENOENT (No such
> file or directory)
> writev(2, [{"/bin/sh", 7}, {": ", 2}, {"error while loading shared
> libra"..., 36}, {": ", 2}, {"libc.so.6", 9}, {": ", 2}, {"cannot open
> shared object file", 30}, {": ", 2}, {"No such file or directory", 25},
> {"\n", 1}], 10/bin/sh: error while loading shared libraries: libc.so.6:
> cannot open shared object file: No such file or directory
> ) = 116
> exit_group(127)                         = ?

You have a broken glibc installation in the chroot, it was built with
--prefix=/home/shuveb/embtest.

Bastian

-- 
Beam me up, Scotty, there's no intelligent life down here!



More information about the busybox mailing list