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

Re: lintian warning: shlib-with-non-pic-code

>>>>> "Olaf" == Olaf Meeuwissen <olaf@epkowa.co.jp> writes:

    Olaf> Brian May <bam@debian.org> writes:
    >> I have fixed the problem now.
    >> Now the shared library is linked with PIC code and the static
    >> library is too... While this is a libtool bug, I think this is
    >> better then the prior situation (of non-PIC code in both the
    >> shared libary and static library).
    >> lintian doesn't complain any more anyway.

    Olaf> Perhaps a tad late, but care to tell us _how_ you fixed it?
    Olaf> Having the same prob with a custom (re)rolled package
    Olaf> myself.  Doesn't seem to wreck any havoc, but would like to
    Olaf> get rid of the lintian message

I assume you have the same situation with that your are trying to link
libtool convenience library into an installable libtool library, but
libtool messes up? If not, then your problem is different to mine.

I applied the following patch:

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

ie. the -static parameter should not be used to create the convenience
Brian May <bam@debian.org>

Reply to: