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

Sven Joachim svenjoac at gmx.de
Sat Nov 5 12:42:44 UTC 2011


tags 646148 + patch
thanks

On 2011-10-21 20:16 +0200, Sven Joachim wrote:

> 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.

Attached is a debdiff with a patch that does the latter.

Cheers,
       Sven

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debdiff
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20111105/2dbb7aea/attachment.ksh>


More information about the pkg-lvm-maintainers mailing list