krb5-libs/1108: Undefined symbol kdb2_dbopen

darrenr@chiron.nabaus.com.au darrenr at chiron.nabaus.com.au
Mon May 20 22:13:17 EDT 2002


>Number:         1108
>Category:       krb5-libs
>Synopsis:       Undefined symbol kdb2_dbopen
>Confidential:   No
>Severity:       serious
>Priority:       medium
>Responsible:    krb5-unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Mon May 20 22:14:01 EDT 2002
>Last-Modified:
>Originator:     Darren Reed
>Organization:
Optimation
>Release:        krb5-1.2.5
>Environment:
System: SunOS chiron 5.5.1 Generic_103640-34 sun4u sparc SUNW,Ultra-2
Architecture: sun4

>Description:
When linking in code from libkdb5.so which calls kdb2_dbopen(), you end
up with the following error:
Undefined                       first referenced
 symbol                             in file
kdb2_dbopen                         /krb5/lib/libkdb5.so

Having looked into this, it would appear that the source code from
src/util/db2 is never installed anywhere nor aggregated as a part of
something else.

>How-To-Repeat:
See description.
>Fix:
A workaround is to manually put src/util/db2/obj/libdb.a in /krb5/lib/ as
libdb2.a and link with -ldb2.  That db2 isn't being built as a shared library
I can get over, for now.  In the long term, it would be nice to see
kdb2_dbopen() actually inside libkdb5.so so this is not necessary.
>Audit-Trail:
>Unformatted:



More information about the krb5-bugs mailing list