Recommended books

How to Install Readline 5.2 on OSX Leopard

Shell Script (Bash) posted about 1 year ago by christian

Install Readline 5.2

   1  curl -O ftp://ftp.cwru.edu/pub/bash/readline-5.2.tar.gz
   2  tar xzf readline-5.2.tar.gz
   3  cd readline-5.2
   4  ./configure && make && sudo make install

Troubleshooting

Error:

   1  Thread model: posix
   2  gcc version 4.0.1 (Apple Inc. build 5465)
   3  i686-apple-darwin9-gcc-4.0.1: -compatibility_version only allowed with -dynamiclib
   4  make[1]: *** [libreadline.5.2.dylib] Error 1
   5  make: [shared] Error 2 (ignored)

Solution:

   1  make static
   2  sudo make install-static

Tagged readline, osx, leopard