Re: [ANNOUNCE] util-linux v2.30-rc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

> On May 30, 2017, at 11:18, Karel Zak <kzak@xxxxxxxxxx> wrote:
> 
> On Tue, May 30, 2017 at 01:03:53AM -0400, Assaf Gordon wrote:
>> /usr/bin/ld: cannot find -lncursesw
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [cfdisk] Error 1
>> ===
> 
> OK, I had nice afternoon with Debian (after 10 years;-)


I'm still seeing this error (tested with util-linux-2.30-rc2-16-2ac1b on
same Debian 8.1 system).

"config.log" is here: http://sprunge.us/XXfX

This might be a problem with some interplay between 'libncurses' and 'libncursesw' (the wide-character variant).

The installed packages on the system are:
====
$ dpkg -l '*ncurs*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version          Architecture     Description
+++-=======================-================-================-====================================================
un  libncurses-dev          <none>           <none>           (no description available)
ii  libncurses5:amd64       5.9+20140913-1+b amd64            shared libraries for terminal handling
ii  libncurses5-dev:amd64   5.9+20140913-1+b amd64            developer's libraries for ncurses
ii  libncursesw5:amd64      5.9+20140913-1+b amd64            shared libraries for terminal handling (wide charact
un  ncurses                 <none>           <none>           (no description available)
ii  ncurses-base            5.9+20140913-1   all              basic terminal type definitions
ii  ncurses-bin             5.9+20140913-1+b amd64            terminal-related programs and man pages
un  ncurses-dev             <none>           <none>           (no description available)
un  ncurses-doc             <none>           <none>           (no description available)
un  ncurses-runtime         <none>           <none>           (no description available)
ii  ncurses-term            5.9+20140913-1   all              additional terminal type definitions
====

I see that both the uni-byte and the wide-character versions are installed,
but only the uni-byte '-dev' version is installed,
And the error is about linking with the wide-char variant:
  /usr/bin/ld: cannot find -lncursesw

It could be that this is not an optimal system to build util-linux on
(e.g. messed up packages combination? yet all done with valid 'apt-get' commands).
However it would be nice to detect it during "./configure" if possible.

----

Also,
On alpine-linux, the compilation now fails with:
===
CC       sys-utils/dmesg-dmesg.o
sys-utils/dmesg.c:9:26: fatal error: linux/unistd.h: No such file or directory
compilation terminated.
Makefile:9274: recipe for target 'sys-utils/dmesg-dmesg.o' failed
make[2]: *** [sys-utils/dmesg-dmesg.o] Error 1
===
Again, this could be due to missing "linux-headers" package - but is it really the kernel's
"unistd.h" that's needed, or could this work with the standard one?



Thanks for all your quick fixes,
 - assaf

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux