Package: libncurses5-dev
Version: 5.9-8
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Since upgrade from squeeze to wheezy few days ago, "ld" reports that 
libncurses.so.5 not found.

$ gcc -o foo foo.c -lncurses
/usr/local/bin/ld: cannot find libncurses.so.5
collect2: error: ld returned 1 exit status


$ cat foo.c
char tgetent ();
int main ()
{
return tgetent ();
  ;
  return 0;
}

# ld --version
GNU ld (GNU Binutils) 2.22



It seems that issue is in /usr/lib/x86_64-linux-gnu/libncurses.so:

# cat /usr/lib/x86_64-linux-gnu/libncurses.so
INPUT(libncurses.so.5 -ltinfo)


Changing this to full path fixes problem:

# cat /usr/lib/x86_64-linux-gnu/libncurses.so
INPUT(/lib/x86_64-linux-gnu/libncurses.so.5 -ltinfo)




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4.1-vlad-bdver1-05 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libncurses5-dev depends on:
ii  libc6-dev [libc-dev]  2.13-33
ii  libncurses5           5.9-8
ii  libtinfo-dev          5.9-8
ii  libtinfo5             5.9-8
ii  ncurses-bin           5.9-8

libncurses5-dev recommends no packages.

Versions of packages libncurses5-dev suggests:
pn  ncurses-doc  <none>

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to