Red Hat Bugzilla – Bug 42950
Application compiled with RH6.2 libncurses.4.so will not run on RH7.1.
Last modified: 2007-04-18 12:33:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
Description of problem:
Application (Linux General Ledger) is compiled with RH6.2 and
libncurses.4. When attempting to run under 7.1 you must first copy
libncurses.5.so to libncurses.4.so, if libncurses.4.so is not already
installed. This problem has not been noted with other distributions.
Steps to Reproduce:
1. Compile a C/C++ program including curses code under 6.2 using -lncurses.
2.Try to run binary under 7.1.
3. You may also download the Linux General Ledger demo version from
www.linuxledgers.com (free) and try to run it rather than write your own
Install the ncurses4 compat package.
Symlinking/copying libncurses.so.5 to libncurses.so.4 will work in many cases,
but segfault in some others: There are binary incompatibilities in some very
rarely used functions.