cURLをソースインストールする際に –with-libssh2 を指定する必要がありますが、この際、下記のようなエラーになる場合があります。
configure: error: libSSH2 libs and/or directories were not found where specified!
エラーの原因
–with-libssh2 に必要となるの libssh2-devel パッケージが不足している可能性があります。
$ yum list | grep libssh2 libssh2.i686 1.4.2-1.el6_6.1 @base
yum install でインストールします。
$ yum install libssh2-devel ・・・・中略・・・・・・ ================================================================================================== Package Arch Version Repository Size ================================================================================================== Installing: libssh2-devel i686 1.4.2-1.el6_6.1 base 21 k Updating for dependencies: libssh2 i686 1.4.2-1.el6_6.1 base 124 k Transaction Summary ================================================================================================== Install 1 Package(s) Upgrade 1 Package(s) Total download size: 145 k Is this ok [y/N]: y
これで解決するはずです。