[RFC][PATCH] krb5 => libverto main loop

Luke Howard lukeh at padl.com
Thu Aug 25 10:48:28 EDT 2011

On 25/08/2011, at 2:39 PM, Greg Hudson wrote:

> On Thu, 2011-08-25 at 05:24 -0400, Luke Howard wrote:
>> If this for dlopen(), Darwin uses .so. For shared libraries, yes, it uses .dylib.
> You're correct.  This presents a more serious architectural problem for
> verto on Darwin, since it assumes that shared libraries and loaded
> modules have the same suffix.  I'm not immediately sure how to resolve
> this.

Recent versions of Darwin let you dlopen() shared libraries (e.g. looking at the PAM modules in Lion, they're MH_DYLIB not MH_BUNDLE; on the other hand, libtool -module creates MH_BUNDLE). So the old distinction between the two is probably not as important as it once was, and you could install install modules with the dylib suffix and it not be so confusing. Depends too on how far back (pre-Leopard?) you want to support.

-- Luke

More information about the krbdev mailing list