Re: dpkg updates for DilOS
On 2017-04-23 16:51 +0200, Guillem Jover wrote:
> Some additional comments about your delta:
>
> - Why is -ltinfo necessary, that should have been picked up by
> configure automatically, if not I'd like to see build logs.
No, -ltinfo is not picked up by configure, not even in Debian. It would
be necessary to use pkg-config or the ncurses*-config scripts to do so.
That being said, -ltinfo is not necessary in Debian because
libncurses*.so are linker scripts which pass -ltinfo. But there may be
platforms (e.g. Gentoo has such an option) which build ncurses with a
separate tinfo library and do not use a linker script. Of course, this
breaks a lot of packages besides dpkg[1].
Cheers,
Sven
1. https://bugs.gentoo.org/show_bug.cgi?id=457530
Reply to: