[2146] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: thoughts about shared library build process

daemon@ATHENA.MIT.EDU (Theodore Y. Ts'o)
Sun Dec 29 09:55:16 1996

Date: Sun, 29 Dec 1996 09:54:55 -0500
From: "Theodore Y. Ts'o" <tytso@MIT.EDU>
To: Tom Yu <tlyu@MIT.EDU>
Cc: krbdev@MIT.EDU
In-Reply-To: Tom Yu's message of Sat, 28 Dec 1996 23:30:20 -0500,
	<9612290430.AA26302@tesla-coil.MIT.EDU>

   Date: Sat, 28 Dec 1996 23:30:20 -0500
   From: Tom Yu <tlyu@MIT.EDU>

   Why do we need to insert explict dependencies of one library on
   another when we're just going to pull them all in on the program link
   line anyway?  It would greatly simplify the build process if this
   weren't necessary, and it doesn't really seem to be on most platforms
   I've looked at unless I'm missing something.

It's needed for SAP so that when you dlopen in libgssapi.so, all of the
other libraries which depend on it automatically get pulled in.  (i.e.,
this is one example where we can't pull them all in on the program link
line).

Also, I believe that under AIX (Sam please correct me if I am wrong),
you *must* explicitly satisfy all dependencies when you build the shared
library.

						- Ted

home help back first fref pref prev next nref lref last post