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

Re: lintian problem [shared-lib-without-dependency-information]

Székelyi Szabolcs <cc@mail.3d.hu> writes:

> I'm trying to make my first package... Everything goes fine except one
> thing. Lintian says:

> W: libvrb0: shared-lib-without-dependency-information 
> ./usr/lib/libvrb.so.0.4.0

> I understand what this means, know how to fix it (by adding -lc to ld
> arguments). Unfortunately the upstream source uses some strange
> (non-auto{make,conf}) build system, meaning (among other things) that
> the arguments of ld are hard-coded into the configure script.

You really shouldn't have to add -lc to the ld arguments; that indicates
that upstream is doing something very odd.

> Solutions may be:
> * modifying the configure script
> * manually adding libc to 'Depends:' line
> * overriding the warning

> Which one sould I choose? Any other idea?

> The upstream source is available from http://vrb.slashusr.org/

Upstream is explicitly writing out a Makefile that links the library with
-nostdlib -nostartfiles, despite the fact that the library calls libc
functions.  This is broken.  I'm not sure about the -nostartfiles,
although that seems very suspicious, but -nostdlib is simply wrong and
should be removed so far as I can tell.

You may want to ask upstream why they did that, but I'd patch Configure to
remove -nostdlib in the maketop function that writes out the Makefile.

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: