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

Re: conditional dependency?

[Stephen Gran]
> I really hope that's not true.  There are many useful use cases for
> static linking when you're building for constrained or otherwise not
> quite sane environments that IMHO we should continue to support.
> Since in the main it's not that hard to do the right thing, it's
> also of limited value to discourage it.

It is worth to note that glibc do not work properly with static
linking.  All functions using PAM and NSS do not work, so binaries
using such functions will fail when presented with incompatible
modules on disk.

This normally make static linking useless to make sure binaries keep
working independently of the shared libraries available on disk.

Happy hacking,
Petter Reinholdtsen

Reply to: