[Question] init does not find library files.....

2 messages, 2 authors, 2001-03-07 · open the first message on its own page

[Question] init does not find library files.....

From: <hidden>
Date: 2001-03-06 23:50:44

  Thank for your kindful replying for our question about ramdisk.

  Now we installed HardHat Linux CDK and found file system in /targer directory.
  we follwed all procedures and made ramdisk.gz

  But, when we ran this ramdisk iamge, init didn't found libc.so.6
  of course, we put this libc.so.6 file into our /lib directory in ramdisk.gz
  following is our result...

  We need your comments, any comments will help us.. thanks...

  ----------- our experiment result ----------

RAM disk driver initialized: 16 RAM disks of 10240K size
loop: registered device at major 7
eth0: CPM ENET Version 0.2, 00:05:27:00:00:01
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 28k in
init: error in loading shared libraries: libc.so.6: cannot open shared object fi
le: No such file or directory      <--- Here is our problem!!!


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: [Question] init does not find library files.....

From: Matthew Locke <hidden>
Date: 2001-03-07 00:27:56

you are probably missing an important link.  It is in
.../target/opt/hardhat...

Include that link in your ramdisk and it should work fine.

kingseft@samsung.co.kr wrote:
  Thank for your kindful replying for our question about ramdisk.

  Now we installed HardHat Linux CDK and found file system in /targer directory.
  we follwed all procedures and made ramdisk.gz

  But, when we ran this ramdisk iamge, init didn't found libc.so.6
  of course, we put this libc.so.6 file into our /lib directory in ramdisk.gz
  following is our result...

  We need your comments, any comments will help us.. thanks...

  ----------- our experiment result ----------

RAM disk driver initialized: 16 RAM disks of 10240K size
loop: registered device at major 7
eth0: CPM ENET Version 0.2, 00:05:27:00:00:01
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 28k in
init: error in loading shared libraries: libc.so.6: cannot open shared object fi
le: No such file or directory      <--- Here is our problem!!!
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help