Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Rhett Sutphin
ruby-kerberos on OS X [ reply ]  
2006-12-05 23:02
When I try to install the kerberos-0.3 gem on OS X (10.4.8), it appears to install fine. When I try to load the library in irb, though, there's a link error:

dyld: NSLinkModule() error
dyld: Symbol not found: _kadm5_init_with_password
Referenced from: /opt/local/lib/ruby/gems/1.8/gems/kerberos-0.3/lib/ruby_kerberos.bundle
Expected in: flat namespace

Looking more closely at the install output, I see this:

checking for kadm5_init_with_password() in -lkadm5clnt... no

It seems like that's probably the issue, but I can't figure out what library actually contains kadm5_init_with_password() on OS X. As far as I can tell, it isn't present in any of the headers for the built-in kerberos libraries (which is apparently MIT Kerberos for Macintosh). If you can make a suggestion how to get around this, I'd be happy to try it out.

As an alternative, I wonder if it would be possible for the gem to not install the admin piece if the check for kadm5_init_with_password failed. In my particular use of ruby-kerberos, that would be fine (I only need the authentication part to work).

Thanks for your efforts -- a ruby kerberos library is something we certainly need.