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

Ritesh Raj Sarraf rrs at researchut.com
Sat Nov 5 17:29:03 UTC 2011


Thanks Sven. I will include it when I do the new upload (which I plan
for Wheezy).


On 11/05/2011 06:12 PM, Sven Joachim wrote:
> 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
>


-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20111105/fbdacbf5/attachment.pgp>


More information about the pkg-lvm-maintainers mailing list