[klibc] klibc & dynamic linking
H. Peter Anvin
hpa at zytor.com
Mon Sep 20 14:58:26 PDT 2004
Goffredo Baroncelli wrote:
>
> Sorry, for my reply too late, but after 3 months I discovered which was my
> problem: in order to have a system with a program linked dynamically with
> klibc, it is mandatory to copy the file klibc-SOMETHING.so under /lib
>
> [ghigo at therra klibc]$ eu-readelf -a utils/shared/true | grep interpreter
> [Requesting program
> interpreter: /lib/klibc-cOXGYU_6VyOKco7T4EGmfl2OLBk.so]
>
> I wrote this mail for reference if anybody will have my same problem.
>
Or set SHLIBDIR to the appropriate place. This is of course true for
any shared libraries... if the system can't find it it's not much you
can do about it.
-hpa
More information about the klibc
mailing list