library `/usr/lib/libncurses.la' was moved.

Reini Urban rurban@x-ray.at
Fri Nov 12 11:04:00 GMT 2004


Charles Wilson schrieb:
> Gerrit P. Haase wrote:
>> Getting this warning:
>>
>> libtool: link: warning: library `/usr/lib/libncurses.la' was moved.
>>
>> $ cat /usr/lib/libncurses.la
>> [...]
>> # Directory that this library needs to be installed in:
>> libdir='/usr/src/ncurses/ncurses-5.4/.inst/usr/lib'
> 
> 
> Hmm....sorry I missed that.  ncurses is weird; it uses libtool but not 
> automake, so DESTDIR installs are tricky.  I'll try to roll a new 
> release next week sometime.  In the meantime, just change the line to 
> the obvious
> 
> 
> libdir='/usr/lib'
> 
> You'll also need to change "dependency_libs" as well -- and these 
> modifications go for all of the ncurses .la files:
> 
> libpanel.la
> libmenu.la
> libform.la
> libncurses.la
> libncurses++.la

this should fix all those .la's:

zcat /etc/setup/libncurses-devel.lst.gz | grep "\.la$" | \
   (cd /; xargs perl -pi.orig \
-e 's|/usr/src/ncurses/ncurses-5.4/.build/lib|/lib|g;
     s|/usr/src/ncurses/ncurses-5.4/.inst/usr/lib|/usr/lib|g' )

-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list