回答:
を使用してreadlineをインストールしました
./configure, make, make install。最後にそれは私に尋ねますinstall: you may need to run ldconfig。
したがって、コマンドを実行するだけです
sudo ldconfig
ldconfigは、共有ライブラリキャッシュを維持するために使用されるプログラムです。通常、このキャッシュはファイルに保存/etc/ld.so.cacheされ、システムが共有ライブラリ名を対応する共有ライブラリファイルの場所にマッピングするために使用されます。
man ldconfig
 ldconfig - configure dynamic linker run-time bindings
DESCRIPTION
       ldconfig  creates,  updates,  and removes the necessary links and cache
       (for use by the run-time linker,  ld.so)  to  the  most  recent  shared
       libraries  found  in  the directories specified on the command line, in
       the file /etc/ld.so.conf, and in the trusted directories (/usr/lib  and
       /lib).   ldconfig  checks the header and file names of the libraries it
       encounters when determining which  versions  should  have  their  links
       updated.  ldconfig ignores symbolic links when scanning for libraries.
詳細については、「What-does-ldconfig-do?」を参照してください。
更新:のソリューション -bash: ldconfig: command not found
あなたが実行したときに以下のコメントで語ったようecho $PATH提供します
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
while ldconfigはPATHの外側にある/ sbin内にあるため、絶対パスのようなコマンドを実行するか/sbin/ldconfig、パスを修正する必要があります。
PATHを修正するには、次の手順を実行します。
gedit ~/.bashrc
行を追加
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
保存して終了してからソース .bashrc
source .bashrc
そのため、コマンドを直接使用できます
ldconfig --version?
                    echo $PATH