"/usr/lib/x86_64-linux-gnu"ディレクトリがありません。ただし、ソフトウェアのインストール手順には「./configure --with-ssl-lib=/usr/lib/x86_64-linux-gnu」と表示されます。

CentOSシステムにインストールしようとしていますNRPE (nagios remote plugin executor)。構成フェーズで私が参照した文書には、次のように記載されています。

./configure --enable-command-args --with-nagios-user=nagios --with-nagios-group=nagios --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/x86_64-linux-gnu

しかし、私のシステムにはそのディレクトリは/usr/lib/x86_64-linux-gnuありません。ディレクトリの内容は次のとおりです/usr/lib

[root@pr2 ~]# ls /usr/lib
lib/     lib64/   libexec/ 

[root@pr2 ~]# ls /usr/lib/
binfmt.d/          grub/              NetworkManager/    sysctl.d/
cpp                kbd/               polkit-1/          systemd/
debug/             kdump/             python2.7/         tmpfiles.d/
dracut/            kernel/            rpm/               tuned/
firewalld/         locale/            sendmail           udev/
firmware/          modprobe.d/        sendmail.postfix   yum-plugins/
games/             modules/           sendmail.sendmail  
gcc/               modules-load.d/    sse2/ 

回答によるとここ、おそらくより現代的なシステムにはこのディレクトリがあるでしょう(リンクの質問と回答はUbuntuに関するものですが、私のCentOSインストールドキュメントでこのディレクトリを参照しているので、CentOSシステムにも同じだと仮定するのは安全だと思います)。だから、そのディレクトリが見つからない場合は、上記のコマンドで場所をどのように変更できますか?

役に立つ場合は、私のコンピュータのCentOSバージョンは次のようになります。

[root@pr2 ~]# rpm --query centos-release
centos-release-7-4.1708.el7.centos.x86_64

ベストアンサー1

/usr/lib/x86_64-linux-gnuDebian 主義です。/usr/lib64一度試してください

おすすめ記事