diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/ncurses.xml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index f84948146..27e31738c 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -139,20 +139,24 @@ ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen> cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version;</userinput></screen> <note> + <para>The instructions above don't create non-wide-character Ncurses - libraries since no package installed by compiling from sources would - link against them at runtime. If you must have such libraries because - of some binary-only application or to be compliant with LSB, build - the package again with the following commands:</para> + libraries since no package installed by compiling from sources would link + against them at runtime. Currently, the only known binary-only + applications that link against non-wide-character Ncurses require version + 5. If you must have such libraries because of some binary-only + application or to be compliant with LSB, build the package again with the + following commands:</para> <screen role="nodump"><userinput>make distclean ./configure --prefix=/usr \ --with-shared \ --without-normal \ --without-debug \ - --without-cxx-binding + --without-cxx-binding \ + --with-abi-version=5 make sources libs -cp -av lib/lib*.so.6* /usr/lib</userinput></screen> +cp -av lib/lib*.so.5* /usr/lib</userinput></screen> </note> </sect2> |