Danek Duvall wrote:
> On Mon, Aug 25, 2008 at 02:11:29PM +0800, Rick Ju wrote:
> 
>> With wide char supported, there is only libncursesw.so instead of 
>> libncurses.so.
> 
> I think the intent was that you'd deliver both libraries.  However, it
> might be interesting to investigate building with wide character support,
> but calling the library libncurses.  I believe that the reason there are
> two libraries, normally, is because the two are binary incompatible, the
> non-wide-char variant has a long history, and the author doesn't want to
> break incompatibility.

That's how it's "usually done". The wide-char version supports non-wide-chars 
just fine (the inverse is however not true).

So, installing the lib*.w.so libraries as lib*.so works. The only detail to 
keep 
in mind is that the Makefiles will set by default the SONAME to lib*w.so, so 
patches are needed for the Makefiles for the wide-char versions to change the 
SONAMEs to the corresponding lib*.so.

--Stefan

-- 
Stefan Teleman
Sun Microsystems, Inc.
Stefan.Teleman at Sun.COM


Reply via email to