Re: linuxrc, initrd and shared libraries
- From: Allen Kistler <ackistler@xxxxxxxxx>
- Date: Sat, 26 Aug 2006 00:58:13 GMT
Jiri Skiskibowski wrote:
Hi,
I am trying to set up an inital ramdisk which contains a linuxrc script. A
test version of this linuxrc looks like this:
-------------------- linuxrc --------------------
#!/bin/sh
#
# $Id: linuxrc,v 1.11 2004/04/26 12:04:46 herbert Exp $
export PATH=/sbin:/bin
export LD_LIBRARY_PATH=/lib:/lib/tls
mount
-------------------------------------------------
The mount command ends up with this error:
./linuxrc: 3 mount: not found
The mount command needs these libraires:
ldd /bin/mount
libc.so.6 => /lib/tls/libc.so.6 (0xb7ea6000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fe0000)
[snip]
What is wrong with my initrd?
There could be other stuff wrong, but at the very least initrd binaries
must be statically linked.
.
- References:
- linuxrc, initrd and shared libraries
- From: Jiri Skiskibowski
- linuxrc, initrd and shared libraries
- Prev by Date: A new reader? Welcome to comp.os.linux.setup, read this first if you're new here (FAQ)
- Next by Date: Re: linuxrc, initrd and shared libraries
- Previous by thread: linuxrc, initrd and shared libraries
- Next by thread: Re: linuxrc, initrd and shared libraries
- Index(es):