10.63. Readline-6.2 N32 Libraries

The Readline package is a set of libraries that offers command-line editing and history capabilities.

10.63.1. Installation of Readline

The following patch contains updates from the maintainer. The maintainer of Readline only releases these patches to fix serious issues:

patch -Np1 -i ../readline-6.2-branch_update-3.patch

Prepare Readline for compilation:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
   ./configure --prefix=/usr --libdir=/lib32

Compile the package:

make SHLIB_LIBS=-lncurses

This package does not come with a test suite.

Install the package:

make install

Install the documentation:

make install-doc

Now move the static libraries to a more appropriate location:

mv -v /lib32/lib{readline,history}.a /usr/lib32

Next, remove the .so files in /lib32 and relink them into /usr/lib32.

rm -v /lib32/lib{readline,history}.so
ln -svf ../../lib32/libreadline.so.6 /usr/lib32/libreadline.so
ln -svf ../../lib32/libhistory.so.6 /usr/lib32/libhistory.so

Details on this package are located in Section 10.75.2, “Contents of File.”