Skip Menu |
 

Download (untitled) / with headers
text/plain 3.3KiB
From darrenr@chiron.nabaus.com.au Mon May 20 22:13:25 2002
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.7.7.76])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id WAA22949
for <bugs@RT-11.mit.edu>; Mon, 20 May 2002 22:13:24 -0400 (EDT)
Received: from orange.national.com.au (orange.national.com.au [203.57.240.81])
by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id WAA10966
for <krb5-bugs@mit.edu>; Mon, 20 May 2002 22:13:22 -0400 (EDT)
Received: by orange.national.com.au (Postfix, from userid 5)
id 92ED9144849; Tue, 21 May 2002 12:13:20 +1000 (EST)
Received: from orange(203.57.240.81) by orange.national.com.au via csmap (V4.1)
id srcAAAliaGeV; Tue, 21 May 02 12:13:20 +1000
Received: from chiron.rais.nabaus.com.au (unknown [164.53.57.131])
by orange.national.com.au (Postfix) with ESMTP id 0B83A144848
for <krb5-bugs@mit.edu>; Tue, 21 May 2002 12:13:18 +1000 (EST)
Received: (from darrenr@localhost)
by chiron.rais.nabaus.com.au (8.8.8+Sun/8.8.8) id MAA01955;
Tue, 21 May 2002 12:13:17 +1000 (EST)
Message-Id: <200205210213.MAA01955@chiron.rais.nabaus.com.au>
Date: Tue, 21 May 2002 12:13:17 +1000 (EST)
From: darrenr@chiron.nabaus.com.au
Reply-To: darrenr@chiron.nabaus.com.au
To: krb5-bugs@mit.edu
Subject: Undefined symbol kdb2_dbopen
X-Send-Pr-Version: 3.99

Show quoted text
>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: Fri May 24 14:19:00 EDT 2002
>Originator: Darren Reed
>Organization:
Optimation
Show quoted text
>Release: krb5-1.2.5
>Environment:
System: SunOS chiron 5.5.1 Generic_103640-34 sun4u sparc SUNW,Ultra-2
Architecture: sun4

Show quoted text
>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.

Show quoted text
>How-To-Repeat:
See description.
Show quoted text
>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.
Show quoted text
>Audit-Trail:

From: Ken Raeburn <raeburn@MIT.EDU>
To: krb5-bugs@MIT.EDU
Cc: Subject: Re: krb5-libs/1108: Undefined symbol kdb2_dbopen
Date: 24 May 2002 14:17:59 -0400

A couple of comments:

I wonder if we should have the kdb static and shared libraries
installed at all. Okay, not installing the shared library might be a
problem because of the kadm5srv shared library, but I don't see much
point in installing the static library; I don't think we want anyone
mucking about at that level.

Also, 1.2.5 and the development trunk differ -- on the trunk, the
static and shared versions of our db library do get installed, which I
suspect might be a problem for systems shipping Berkeley/Sleepycat DB.
We probably want the relevant bits from db pulled into the kdb5
library.

Ken
Show quoted text
>Unformatted:
In 1.3, libdb object files will be pulled into libkdb if using the
in-tree db library, thus avoiding this problem.