On Fri, Oct 27, 2017 at 02:39:19PM +0200, Michael Olbrich wrote:
> On Thu, Oct 26, 2017 at 07:09:23PM +0200, Clemens Gruber wrote:
> > when building PTXdist 2017.10.0 on current ArchLinux, a linker error occurs:
> > /usr/bin/ld: lxdialog/checklist.o: undefined reference to symbol 'acs_map'
> > /usr/lib/libtinfo.so.6: error adding symbols: DSO missing from commandline
> > This occured after ArchLinux updated binutils to 2.29.1-1 and ncurses to
> > 6.0+20170902-2.
> Strange. I have binutils 2.29.1-6 and ncurses 6.0+20170902-1 here on Debian
> and it works just fine :-/. But:
> $ cat /usr/lib/x86_64-linux-gnu/libncurses.so
> INPUT(libncurses.so.5 -ltinfo)
> I guess this is different for you...
$ cat /usr/lib/libncurses.so
> > I could work around it by adding -ltinfo to LDFLAGS in the PTXdist
> > Makefile.
> We have some complex stuff in configure.ac to detect the curses library.
> Maybe we should just require ncurses and use pkg-config.
Yes, pkg-config would have caught it:
$ pkg-config --libs ncurses
I noticed in the meantime, that the package maintainer made a commit, which
fixes the problem too:
ptxdist mailing list