[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: configure --enable-widec does not build libncursesw.so
From: |
Stewart, Adam James |
Subject: |
RE: configure --enable-widec does not build libncursesw.so |
Date: |
Tue, 4 Apr 2017 19:12:09 +0000 |
Sven,
I figured out what the problem was. I was also using "--disable-lib-suffixes"
which disables the "w" from being appended to the library name.
Adam J. Stewart
Assistant Systems Administrator
Laboratory Computing Resource Center
Computing, Environment and Life Sciences
Argonne National Laboratory
________________________________________
From: Sven Joachim address@hidden
Sent: Tuesday, April 04, 2017 1:55 PM
To: Stewart, Adam James
Cc: address@hidden
Subject: Re: configure --enable-widec does not build libncursesw.so
On 2017-04-04 18:25 +0000, Stewart, Adam James wrote:
> I'm trying to build a program (htop) that requires the libncursesw.so
> library. My understanding is that by default, ncurses builds
> libncurses.so.
Actually it doesn't.
> If you pass the "--enable-widec" flag to configure, it
> instead builds libncursesw.so. However, when I build ncurses with this
> flag, I still don't get the libncursesw.so libraries. What am I doing
> wrong?
You also have to pass --with-shared, otherwise all you get are static
libraries (libncursesw.a etc). Whether this is a good default these
days is debatable, but that's how it is.
Cheers,
Sven