Error: "error while loading shared libraries: libncurses.so.5" installing Shareplex on RedHat Lin
Error received while installing Shareplex on RedHat AS3.0 or AS4.0 Linux 64-bit (Itanium, Xeon, or x86) chipset,:
"error while loading shared libraries: libncurses.so.5".
SharePlex is a 32-bit application, it's unable to call 64-bit libraries.
RedHat provides a 32-bit application compatible package on an extra disk. Install the 32-bit Library rpm package before installing Shareplex.
For RedHat AS 3.0, the package is ncurses-5.3-9.4.i386.rpm (assuming that there's no updated versions) .../RedHat/RPMS/ncurses-5.3-9.4.i386.rpm
For RedHat AS 4.0, the package is ncurses-5.4-13.i386.rpm (assuming that there's no updated versions) .../RedHat/RPMS/ncurses-5.4-13.i386.rpm
Refer to RedHat Documentation - "Red Hat Enterprise Linux 3 Update 6 Release Notes" for additional details: http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/release-notes/as-itanium/RELEASE-NOTES-U6-itanium-en.html
Pay special attention to "Red Hat Enterprise Linux 3 Update 6 for the 64-bit Intel Itanium2 architecture includes runtime support for 32-bit applications through the use of Intel's IA-32 Execution Layer.
The IA-32 Execution Layer is provided on the Extras disc for the Intel Itanium2 architecture. In addition, a set of 32-bit libraries and applications are provided on a separate 32-bit Compatibility Layer disc. The IA-32 Execution Layer and 32-bit compatibility packages together provide a runtime environment for 32-bit applications on the 64-bit native distribution."
Note: It running Itanium, this solution still relevant. If Itanium is not running, then install the 32-bit compatibility packages (ncurses-5.3-9.4.i386.rpm).
Please contact RedHat Support for additional details or assistance on applying patches to be 32-bit compatible.
If you believe the 32 bit libraries are already installed, see solution 28740 for a command to verify the version of ncurses on Linux