[4167] in Kerberos-V5-bugs
[krbdev.mit.edu #1430] Kerberos programs link to installed dynamic
daemon@ATHENA.MIT.EDU (Ken Raeburn via RT)
Tue Apr 29 12:49:59 2003
Date: Tue, 29 Apr 2003 12:49:43 -0400 (EDT)
Message-Id: <rt-1430-5874.19.0087738045889@krbdev.mit.edu>
In-Reply-To: <rt-1430@krbdev.mit.edu>
From: "Ken Raeburn via RT" <rt-comment@krbdev.mit.edu>
To: krb5-prs@MIT.EDU
Reply-To: rt-comment@krbdev.mit.edu
Errors-To: krb5-bugs-bounces@mit.edu
See "compiling krb5-1.2.8 for OS X Server 10.2.5" thread in krbdev.
Quick summary: He's been tripped up by the linker's search through the
library path for dynamic libraries before searching for static
libraries. Most other linkers don't actually work that way (they search
each directory for both shared and static libraries, then move on to the
next directory), except modern Tru64 and that difference is documented
along with the means to use the old style behavior, which I think we're
doing.
Mac OS X, on the other hand, does search all the directories for dynamic
libraries before looking for static libraries, it's not documented, and
there's no (known) way to change it. So building a static-only tree
when dynamic libraries are installed will not work properly.
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
http://mailman.mit.edu/mailman/listinfo/krb5-bugs