Skip Menu |
 

Download (untitled) / with headers
text/plain 2.5KiB
From erik@minet.uni-jena.de Wed Sep 25 04:45:29 2002
Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by krbdev.mit.edu (8.9.3) with ESMTP
id EAA27519; Wed, 25 Sep 2002 04:45:28 -0400 (EDT)
Received: from fsuj20.rz.uni-jena.de (fsuj20.rz.uni-jena.de [141.35.1.18])
by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id EAA24038
for <krb5-bugs@mit.edu>; Wed, 25 Sep 2002 04:45:27 -0400 (EDT)
Received: from virusscan.rz.uni-jena.de (virusscan.rz.uni-jena.de [141.35.1.23])
by fsuj20.rz.uni-jena.de (8.12.0.Beta7/8.11.1) with ESMTP id g8P8jQ16022440
for <krb5-bugs@mit.edu>; Wed, 25 Sep 2002 10:45:26 +0200 (MET DST)
Received: from virusscan.rz.uni-jena.de (localhost [127.0.0.1])
by virusscan.rz.uni-jena.de (8.11.6/8.11.6) with ESMTP id g8P8jQV32017
for <krb5-bugs@mit.edu>; Wed, 25 Sep 2002 10:45:26 +0200
Received: from pax07e3.mipool.uni-jena.de (erik@pax07e2.mipool.uni-jena.de [141.35.13.41])
by pax08e3.mipool.uni-jena.de (8.11.6/8.11.6) with SMTP id g8P8jQv242001
for <krb5-bugs@mit.edu>; Wed, 25 Sep 2002 10:45:26 +0200 (CEST)
Date: Wed, 25 Sep 2002 10:45:26 +0200 (CEST)
From: Erik Braun <erik@minet.uni-jena.de>
X-Sender: erik@pax07e3.mipool.uni-jena.de
To: krb5-bugs@mit.edu
Subject: kdb5_util test fails
Message-ID: <Pine.OSF.3.96.1020925104439.272870A-100000@pax07e3.mipool.uni-jena.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

To: krb5-bugs@mit.edu
Subject: kdb5_util test fails
From: erik@minet.uni-jena.de
Reply-To: erik@minet.uni-jena.de
Cc:
X-send-pr-version: 3.99


Show quoted text
>Submitter-Id: net
>Originator: Erik Braun
>Organization:
FSU Jena
Show quoted text
>Confidential: no
>Synopsis: kdb5_util test fails due to an undefined symbol
>Severity:
>Priority:
>Category: krb5-build
>Class: sw-bug
>Release: krb5-1.2.6
>Environment:
Compiler: gcc version 2.95.4 20011002 (Debian prerelease)
System: Linux ppc215 2.4.19 #1 Tue Sep 17 10:37:29 CEST 2002 i686 unknown
Architecture: i686
(same happens using gcc 3.0)

Show quoted text
>Description:
make check says this:

LD_LIBRARY_PATH=echo -L../lib | sed -e "s/-L//g" -e "s/ /:/g"; export
LD_LIBRARY_PATH; KRB5_KDC_PROFILE=kdc.conf
KRB5_CONFIG=./../config-files/krb5.conf ../kadmin/dbutil/kdb5_util -d
./testdb -r FOO.TEST.REALM -P footes dump ./testdb.dump
../kadmin/dbutil/kdb5_util: relocation error: ../kadmin/dbutil/kdb5_util:
undefined symbol: krb5_db_iterate_ext

Show quoted text
>How-To-Repeat:
./configure --prefix=/usr --enable-shared --with-ccopts="-O2 -D_REENTRANT" \
--localstatedir=/etc --mandir=/usr/share/man --without-tcl --enable-dns=no

make
make check


Show quoted text
>Fix:

To: rt@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #1196] kdb5_util test fails due to an undefined symbol
From: Tom Yu <tlyu@mit.edu>
Date: Sat, 02 Nov 2002 14:04:15 -0500
RT-Send-Cc:
Download (untitled) / with headers
text/plain 1.3KiB
Show quoted text
>>>>> "erik" == The RT System itself via RT <rt-comment@krbdev.mit.edu> writes:

Show quoted text
>> Environment:
Show quoted text
erik> Compiler: gcc version 2.95.4 20011002 (Debian prerelease)
erik> System: Linux ppc215 2.4.19 #1 Tue Sep 17 10:37:29 CEST 2002 i686 unknown
erik> Architecture: i686
erik> (same happens using gcc 3.0)

Show quoted text
>> Description:
Show quoted text
erik> make check says this:

Show quoted text
erik> LD_LIBRARY_PATH=echo -L../lib | sed -e "s/-L//g" -e "s/ /:/g"; export
erik> LD_LIBRARY_PATH; KRB5_KDC_PROFILE=kdc.conf
erik> KRB5_CONFIG=./../config-files/krb5.conf ../kadmin/dbutil/kdb5_util -d
erik> ./testdb -r FOO.TEST.REALM -P footes dump ./testdb.dump
erik> ../kadmin/dbutil/kdb5_util: relocation error: ../kadmin/dbutil/kdb5_util:
erik> undefined symbol: krb5_db_iterate_ext

This is probably due to linux preferring libraries in a binary's RPATH
to the path in LD_LIBRARY_PATH. If you're going to build with shared
libraries, try doing a "make install" before running the tests so that
the tests get the correct libraries. Also, we'd appreciate knowing
any workarounds for this problem.

Show quoted text
>> How-To-Repeat:
Show quoted text
erik> ./configure --prefix=/usr --enable-shared --with-ccopts="-O2 -D_REENTRANT" \
erik> --localstatedir=/etc --mandir=/usr/share/man --without-tcl --enable-dns=no
Is there any particular reason you're configuring with --prefix=/usr?
It seems like a bad idea.

---Tom