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

Reply via email to