Cycle between libncurses.so and libncurses.so.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ncurses (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I try to compile a really simple C program using ncurses using `cc -lncurses file.c -o file`, and that's what I get:
cc -lncurses -lpanel -o test curses.c
curses.c: In function 'print_in_middle':
curses.c:111:11: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
/usr/bin/ld: cannot open linker script file /usr/lib/
collect2: ld returned 1 exit status
make: *** [test] Error 1
In Debian, that program compiles and runs seamlessly. Here is the data:
$ dpkg -l | grep ncurses
ii libncurses5 5.9-4 shared libraries for terminal handling
ii libncurses5:i386 5.9-4 shared libraries for terminal handling
ii libncurses5-dev 5.9-4 developer's libraries for ncurses
ii libncursesw5 5.9-4 shared libraries for terminal handling (wide character support)
ii libncursesw5:i386 5.9-4 shared libraries for terminal handling (wide character support)
ii libncursesw5-dev 5.9-4 developer's libraries for ncursesw
ii mtr-tiny 0.80-1ubuntu1 Full screen ncurses traceroute tool
ii ncmpcpp 0.5.6-2 ncurses-based client for the Music Player Daemon (MPD)
ii ncurses-base 5.9-4 basic terminal type definitions
ii ncurses-bin 5.9-4 terminal-related programs and man pages
ii ncurses-examples 5.9-4 test programs and examples for ncurses
ii rtorrent 0.8.9-2 ncurses BitTorrent client based on LibTorrent from rakshasa
$ dpkg -l | grep binutils
ii binutils 2.22-6ubuntu1.1 GNU assembler, linker and binary utilities
$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
NAME="Ubuntu"
VERSION="12.04.3 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.3 LTS)"
VERSION_ID="12.04"