This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Build script using gcc fails - missing ncurses?
- From: Fergus Daly <fergusd at frontier-science dot co dot uk>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Cc: Fergus Daly <fergusd at frontier-science dot co dot uk>
- Date: Tue, 17 Mar 2015 12:16:43 +0000
- Subject: Build script using gcc fails - missing ncurses?
- Authentication-results: sourceware.org; auth=none
A build script I have used forever containing the line
gcc -o execname ./{various.a} -lncurses
has failed in a new installation today of Cygwin, with the error message
ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
The installation script to build Cygwin has not altered, taking the form
setup-x86 -P (list of packages}
unchanged between <old installation, not more than 3 months old> and <new installation, today>
But a comparison of new installed.db with old installed.db shows that the new installation lacks various library components that the old installation possesses, including all of
libncurses10 libncurses10-5.9-20150307-1.tar.bz2 0
libncurses8 libncurses8-5.5-10.tar.bz2 0
libncurses-devel libncurses-devel-5.9-20150307-1.tar.bz2 0
libncursesw-devel libncursesw-devel-5.9-20150307-1.tar.bz2 0
(and a few others besides).
Although the {list of packages} called for the installation 3 months ago and the installation today is unchanged, something has led to the reduced provision. Can anybody help me recover whatever is necessary to make the line
gcc ... -lncurses
work as it used to?
Thank you.
Fergus
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple