[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Not everyone is linking shared libraries to libc



>>>>> "Wichert" == Wichert Akkerman <wichert@cistron.nl> writes:


    Wichert> It seems not everyone is linking their libraries to libc,
    Wichert> which is needed (see policy section 9.2.2 for details). I
    Wichert> wrote a little tool to check if libraries are linked to
    Wichert> libc and on my system it reports:

I certainly don't see how the text of policy section 9.2.2 mandates
linking against libc.  The footnote comes closer, but even that seems
to imply that all I need to do is make sure that some library in my
package links against libc so that the dependencies come out right.
Note that the footnote does not have the force of policy.

Policy does mandate that I have my dependencies right, and being
reasonable says that I should link against libc if I'm using symbols
from it.  benc asserts that even this isn't enough, but experience
suggests his assertion was not fully qualified  as I've seen libraries that were not linked with gcc successfully loaded by ld.so.

I think this discussion could benefit from technical details rather
than so many assertions.  I'm mostly just curious.



Reply to: