Bug#646164: twinkle: FTBFS: /usr/bin/ld: cannot find -lncurses

Sven Joachim svenjoac at gmx.de
Fri Oct 21 19:36:56 UTC 2011


Package: twinkle
Version: 1:1.4.2-2
Severity: serious
Tags: wheezy sid

>From my pbuilder log:

,----
| g++  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -D_GNU_SOURCE -L /usr/lib  -o twinkle  main.o libtwinkle.a ../src/parser/libsipparser.a ../src/sdp/libsdpparser.a ../src/sockets/libsocket.a ../src/threads/libthread.a ../src/audio/libaudio.a ../src/audits/libaudits.a ../src/stun/libstun.a ../src/mwi/libmwi.a ../src/im/libim.a ../src/presence/libpresence.a ../src/patterns/libpatterns.a ../src/utils/libutils.a -lgsm -pthread -lccrtp1 -lccgnu2 -ldl -lrt   -lxml2   -lncurses -lreadline -lsndfile -lmagic -lboost_regex -lzrtpcpp -lspeex -lspeexdsp -lasound -lgsm -lmagic -lsndfile -lresolv  -L/usr/lib -lccext2 -lccgnu2 -lz -ldl -lrt -pthread -lreadline
| /usr/bin/ld: cannot find -lncurses
| collect2: ld returned 1 exit status
| make[4]: *** [twinkle] Error 1
`----

Either add libncurses-dev to Build-Depends, or (preferably) patch the
upstream build system to not add -lncurses to the linker line, since
it is not needed (there is a corresponding dpkg-shlibdeps warning in the
buildd logs).


-- 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-voip-maintainers mailing list