• 一般来说需要编译ncurses

https://blog.csdn.net/quantum7/article/details/106175841

  • 下载

ftp://ftp.gnu.org/gnu/readline/

http://tiswww.case.edu/php/chet/readline/rltop.html#Availability

  • 解压
  • 编译
BUILD_LIBS=${HOME}/build_libs
 
./configure \
    --prefix=${BUILD_LIBS} \
    CFLAGS=-fPIC \
    --enable-shared
 
make

make install