我試圖在CentOS 5(RHEL 5的一個分支)上安裝此 http://fr2.php.net/manual/en/book.ssh2.php 。爲PHP安裝PECL SSH2擴展
我安裝libssh2(YUM安裝libssh2)至極位於/ usr/lib中,當我安裝SSH2擴展(通過PECL安裝-f SSH2)我得到這個消息
checking for ssh2 files in default path... not found configure: error: The required libssh2 library was not found. You can obtain that package from http://sourceforge.net/projects/libssh2/ ERROR: `/tmp/pear/download/ssh2-0.11.0/configure --with-ssh2=/usr' failed
如果我設置/ usr/lib,我得到相同的信息
ERROR: `/tmp/pear/download/ssh2-0.11.0/configure --with-ssh2=/usr/lib' failed
問題在哪裏?
你從哪個版本庫中獲取?我在默認或Atomic中找不到它。 – 2012-01-19 18:18:04
沒關係,我在http://repoforge.org/ – 2012-01-19 20:00:33