Bug 134569

Summary: [heimdal] krb5-config(1) does not return all libs necessary when linking admin servers
Product: Base System Reporter: Ryan T. Dean <rtdean>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 8.0-CURRENT   
Hardware: Any   
OS: Any   

Description Ryan T. Dean 2009-05-16 02:50:01 UTC
'krb5-config --libs kadm-server' does not return a list of libraries sufficient for linking programs.  More specifically,
libkadm5srv.so requires symbols from libhdb.so, and -lhdb is not returned by krb5-config.

I noticed this when attempting to compile the smbk5pwd module from OpenLDAP using 'krb5-config --libs kadm-server'; the resulting
module would not load, bring slapd down, and return this error:

/libexec/ld-elf.so.1: /usr/lib/libkadm5srv.so.10: Undefined symbol "hdb_get_dbinfo"

Manually adding -lhdb when linking the module solved the problem


change 'krb5-config --libs kadm-server' to return '-lhdb' in the list

Attempt to link something (such as smbk5pwd) which required kerberos admin server libraries using 'krb5-config --libs
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:52 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped