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

Re: Broken shared library dependencies



Leif Johansson <leifj@matematik.su.se> writes:

> There are two broken dependencies (apart from the com_err
> "dependency" reported earlier) when compiling with shared libraries.

Yes, these are all known problems. Shared libraries suck! :-)

> Now, however my autostuff is too old to work with heimdal.

You need Autoconf 2.13 and Automake 1.4.

> I claim that -lcrypt must (together with -lresolv) be in LIBS if
> present.

Hmm, I really dislike this. I would prefer to only link application
that actually use crypt() with -lcrypt. Adding dependencies in the
(shared) libraries would be a lot better, but I don't know if this
works on all (relevant) platforms.

I guess we have to decide how to solve this sometime soon.

/Johan