Hi George and all:
I am using a cross compiler to build a ramdisk. For the first try, I linked
the init, busybox, bash and tinylogin statically. They can work. And then,
I build a hello apps into the ramdisk wit dynamic link. I also put all the
libraries from my cross compiler(glibc-2.1.3) into the ramdisk /lib
directory. I set the permission 777 for the hello executable. After the
linux and ramdisk are up, I tried to execute the hello. I got an error
message like following:
bash: ./hello: No such file or directory.
If I statically link the hello, it works fine.
I do not understand why the dynamic linked hello can not work. I believe
there are some issues how to use the shared libraries. Would you or any one
else let me know if you meet the same problems when building a ramdisk? I
appreciate any response for this message.
Thanks a lot.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:13 EST