[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Heimdal 0.3d

>>>>> "Brian" == Brian May <bam@snoopy.apana.org.au> writes:

>>>>> "GOMBAS" == GOMBAS Gabor <gombasg@inf.elte.hu> writes:
    GOMBAS> Hello, Would you try this? It only checks for libdes if
    GOMBAS> you request Kerberos4 support.

    Brian> It seems to work fine...

    Brian> Now all I get is this lintian error (Debian checker
    Brian> program):

    Brian> E: heimdal-lib: shlib-with-non-pic-code
    Brian> usr/lib/libkrb5.so.14.0.0

    Brian> which looks like a libtool bug, when linking libkrb.la with
    Brian> the convenience library libvers.la, as it uses libvers.a
    Brian> which has not been compiled with -fPIC flag.

I stand corrected (by myself!). It is not a libtool bug. It is a
Heimdal bug. In short, the convenience library is getting built with
-static, which forces libtool to link the wrong files into libkrb5.so.

The attached patch fixes the problem. This has the side affect that
the static version of libkrb5 is created with PIC code (now that is a
libtool bug :-( ), but I don't think that is such serious issue.

diff -ruN heimdal-0.3d-old/lib/vers/Makefile.am heimdal-0.3d/lib/vers/Makefile.am
--- heimdal-0.3d-old/lib/vers/Makefile.am	Thu Nov 16 08:15:35 2000
+++ heimdal-0.3d/lib/vers/Makefile.am	Wed Dec 20 14:08:09 2000
@@ -5,7 +5,6 @@
 CLEANFILES		= print_version.h
 noinst_LTLIBRARIES	= libvers.la
-libvers_la_LDFLAGS	= -static
 build_HEADERZ		= vers.h
Brian May <bam@snoopy.apana.org.au>