|
Home > Archive > Debian Developers > January 2006 > lintian problem [shared-lib-without-dependency-information]
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
lintian problem [shared-lib-without-dependency-information]
|
|
| Székelyi Szabolcs 2006-01-09, 6:03 pm |
| Hi,
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.
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/
Thanks for your help,
--
Sze'kelyi Szabolcs
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Russ Allbery 2006-01-09, 6:03 pm |
| Sz=E9kelyi 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=20
> ./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.
--=20
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
|
|
|
|
|