[klibc] content of initramfs CPIO archive

Goffredo Baroncelli kreijack at tiscalinet.it
Thu Jan 27 12:00:43 PST 2005


On Thursday 27 January 2005 16:25, Andreas Bach Aaen (AH/TED) wrote:
> Hi,
[...]
> How does the shared versions of ifconfig find klibc.so?

If I understand your question, copy the klib/klibc*.so shared library to /lib 
in order to obtain the shared version of the program work properly.

[root at therra klibc]# strings tests/minihello.shared | head -1
/lib/klibc-hJF6AVJLIZlB5O7z_xypR9ntvFs.so

[root at therra klibc]# pwd
/home/ghigo/klibc/klibc-0.197/klibc
[root at therra klibc]# tests/minihello.shared
bash: tests/minihello.shared: No such file or directory
[root at therra klibc]# ln -svf $(pwd)/klibc*.so /lib
create symbolic link `/lib/klibc-hJF6AVJLIZlB5O7z_xypR9ntvFs.so' to 
`/home/ghigo/klibc/klibc-0.197/klibc/klibc-hJF6AVJLIZlB5O7z_xypR9ntvFs.so'
create symbolic link `/lib/klibc.so' to 
`/home/ghigo/klibc/klibc-0.197/klibc/klibc.so'
[root at therra klibc]# tests/minihello.shared
Hello, World!

 
-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack at inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87  87C0 BB86 505C 6B2A CFF9



More information about the klibc mailing list