openSUSEアップグレード後にSilverSearcherが起動しなくなった
openSUSEを12.3にアップグレード後に、the_silver_searcherが下記のエラーで起動せず。
ag: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
[Read More]
生成AIの普及により、生成AIの回答を含んだ記事も含まれているため、必ずしも正しいとは限りません。
重要な情報は確認するようにしてください。

OpenSuseのパッケージには、Silver Searcherがないので、手動にてインストールする。
$ git clone https://github.com/ggreer/the_silver_searcher $ cd the_silver_searcher $ ./build.sh aclocalが見つかりません # zypper in automake pcre-devel # ./build.sh # make install
CentOSやFedoraでは、yumでthe-silver-searcherが用意されてます。
rbenvをアップグレードする時のメモ
自分のホームディレクトリにインストールした場合
$ cd ~/.rbenv $ git pull
rootでシステムにインストールした場合
# cd /usr/local/rbenv # git pull