From mwood@mhw.ULib.IUPUI.Edu Thu May 10 12:09:19 2001
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.72.0.53])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id MAA22768
for <bugs@RT-11.mit.edu>; Thu, 10 May 2001 12:09:15 -0400 (EDT)
Received: from mhw.ULib.IUPUI.Edu (root@mhw.ulib.iupui.edu [134.68.164.123])
by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id MAA09334
for <krb5-bugs@mit.edu>; Thu, 10 May 2001 12:09:15 -0400 (EDT)
Received: from localhost (2046 bytes) by mhw.ULib.IUPUI.Edu
via sendmail with P:stdio/R:bind_hosts/T:inet_zone_bind_smtp
(sender: <mwood>) (ident <mwood> using unix)
id <m14xt06-000016C@mhw.ULib.IUPUI.Edu>
for <krb5-bugs@mit.edu>; Thu, 10 May 2001 11:09:14 -0500 (EST)
(Smail-3.2.0.101 1997-Dec-17 #2 built 1998-Jun-1)
Message-Id: <m14xt06-000016C@mhw.ULib.IUPUI.Edu>
Date: Thu, 10 May 2001 11:09:14 -0500 (EST)
From: mwood@IUPUI.Edu
Reply-To: mwood@IUPUI.Edu
To: krb5-bugs@mit.edu
Subject: stat(), fstat() unresolved linking shared libraries
X-Send-Pr-Version: 3.99
i686 PC
Linux 2.2
GNU libc 2.1.2, 2.2.3
System: Linux mhw 2.2.17 #2 Tue Nov 14 16:34:31 EST 2000 i686 unknown
Architecture: i686
libc even though they use libc functions. This causes
problems with a handful of functions which are not present in
the shared GNU libc and must be statically linked.
Specifically, stat() and fstat() remain unresolved.
make
make install
kdestroy
[error concerning unresolved symbols]
diff -urN krb5-1.2.2/src/lib/krb4/Makefile.in krb5-1.2.2.new/src/lib/krb4/Makefile.in
--- krb5-1.2.2/src/lib/krb4/Makefile.in Wed Feb 28 17:07:42 2001
+++ krb5-1.2.2.new/src/lib/krb4/Makefile.in Thu May 10 09:45:46 2001
@@ -23,7 +23,7 @@
$(TOPLIBD)/libdes425$(SHLIBEXT) \
$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
$(TOPLIBD)/libkrb5$(SHLIBEXT)
-SHLIB_EXPLIBS=-lkrb5 -lcom_err -ldes425 -lk5crypto
+SHLIB_EXPLIBS=-lkrb5 -lcom_err -ldes425 -lk5crypto -lc
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
diff -urN krb5-1.2.2/src/lib/krb5/Makefile.in krb5-1.2.2.new/src/lib/krb5/Makefile.in
--- krb5-1.2.2/src/lib/krb5/Makefile.in Wed Feb 28 17:07:43 2001
+++ krb5-1.2.2.new/src/lib/krb5/Makefile.in Thu May 10 09:45:29 2001
@@ -58,7 +58,7 @@
SHLIB_EXPDEPS = \
$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
$(TOPLIBD)/libcom_err$(SHLIBEXT)
-SHLIB_EXPLIBS=-lk5crypto -lcom_err @GEN_LIB@ @RESOLV_LIB@
+SHLIB_EXPLIBS=-lk5crypto -lcom_err @GEN_LIB@ @RESOLV_LIB@ -lc
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.72.0.53])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id MAA22768
for <bugs@RT-11.mit.edu>; Thu, 10 May 2001 12:09:15 -0400 (EDT)
Received: from mhw.ULib.IUPUI.Edu (root@mhw.ulib.iupui.edu [134.68.164.123])
by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id MAA09334
for <krb5-bugs@mit.edu>; Thu, 10 May 2001 12:09:15 -0400 (EDT)
Received: from localhost (2046 bytes) by mhw.ULib.IUPUI.Edu
via sendmail with P:stdio/R:bind_hosts/T:inet_zone_bind_smtp
(sender: <mwood>) (ident <mwood> using unix)
id <m14xt06-000016C@mhw.ULib.IUPUI.Edu>
for <krb5-bugs@mit.edu>; Thu, 10 May 2001 11:09:14 -0500 (EST)
(Smail-3.2.0.101 1997-Dec-17 #2 built 1998-Jun-1)
Message-Id: <m14xt06-000016C@mhw.ULib.IUPUI.Edu>
Date: Thu, 10 May 2001 11:09:14 -0500 (EST)
From: mwood@IUPUI.Edu
Reply-To: mwood@IUPUI.Edu
To: krb5-bugs@mit.edu
Subject: stat(), fstat() unresolved linking shared libraries
X-Send-Pr-Version: 3.99
Show quoted text
>Number: 952
>Category: krb5-build
>Synopsis: stat(), fstat() unresolved linking shared libraries
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: tlyu
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu May 10 12:10:00 EDT 2001
>Last-Modified:
>Originator: Mark H. Wood
>Organization:
Indiana University - Purdue University at Indianapolis>Category: krb5-build
>Synopsis: stat(), fstat() unresolved linking shared libraries
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: tlyu
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu May 10 12:10:00 EDT 2001
>Last-Modified:
>Originator: Mark H. Wood
>Organization:
Show quoted text
>Release: krb5-1.2.2
>Environment:
>Environment:
i686 PC
Linux 2.2
GNU libc 2.1.2, 2.2.3
System: Linux mhw 2.2.17 #2 Tue Nov 14 16:34:31 EST 2000 i686 unknown
Architecture: i686
Show quoted text
>Description:
Shared versions of libkrb5 and libkrb4 are not linked againstlibc even though they use libc functions. This causes
problems with a handful of functions which are not present in
the shared GNU libc and must be statically linked.
Specifically, stat() and fstat() remain unresolved.
Show quoted text
>How-To-Repeat:
configure --enable-sharedmake
make install
kdestroy
[error concerning unresolved symbols]
Show quoted text
>Fix:
diff -urN krb5-1.2.2/src/lib/krb4/Makefile.in krb5-1.2.2.new/src/lib/krb4/Makefile.in
--- krb5-1.2.2/src/lib/krb4/Makefile.in Wed Feb 28 17:07:42 2001
+++ krb5-1.2.2.new/src/lib/krb4/Makefile.in Thu May 10 09:45:46 2001
@@ -23,7 +23,7 @@
$(TOPLIBD)/libdes425$(SHLIBEXT) \
$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
$(TOPLIBD)/libkrb5$(SHLIBEXT)
-SHLIB_EXPLIBS=-lkrb5 -lcom_err -ldes425 -lk5crypto
+SHLIB_EXPLIBS=-lkrb5 -lcom_err -ldes425 -lk5crypto -lc
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
diff -urN krb5-1.2.2/src/lib/krb5/Makefile.in krb5-1.2.2.new/src/lib/krb5/Makefile.in
--- krb5-1.2.2/src/lib/krb5/Makefile.in Wed Feb 28 17:07:43 2001
+++ krb5-1.2.2.new/src/lib/krb5/Makefile.in Thu May 10 09:45:29 2001
@@ -58,7 +58,7 @@
SHLIB_EXPDEPS = \
$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
$(TOPLIBD)/libcom_err$(SHLIBEXT)
-SHLIB_EXPLIBS=-lk5crypto -lcom_err @GEN_LIB@ @RESOLV_LIB@
+SHLIB_EXPLIBS=-lk5crypto -lcom_err @GEN_LIB@ @RESOLV_LIB@ -lc
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
Show quoted text
>Audit-Trail:
>Unformatted:
>Unformatted: