Bug#646148: multipath-tools: FTBFS: /usr/bin/ld: cannot find -lncurses

Sven Joachim svenjoac at gmx.de
Fri Oct 21 18:16:47 UTC 2011


Package: multipath-tools
Version: 0.4.9-2
Severity: serious

>From my pbuilder log:

,----
| cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib\" -I../libmultipath -c -o cli_handlers.o cli_handlers.c
| cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib\" -I../libmultipath -lpthread -ldevmapper -lreadline -lncurses -ldl -lmultipath -L../libmultipath -o multipathd main.o pidfile.o uxlsnr.o uxclnt.o cli.o cli_handlers.o
| /usr/bin/ld: cannot find -lncurses
| collect2: ld returned 1 exit status
| make[2]: *** [multipathd] Error 1
`----

Either add libncurses-dev to Build-Depends, or (preferably) patch
multipathd/Makefile to not add -lncurses to LDFLAGS, since it is not
needed.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.1.0-rc10-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the pkg-lvm-maintainers mailing list