Cody Brown

Member
Jul 27, 2015
5
0
1
Kentucky
cPanel Access Level
Root Administrator
I attempted to pecl install channel://pecl.php.net/ssh2-0.12 and at first it asks for libssh2 prefix. I attempted to find the libssh2 on the system and could not find it. When doing the pecl command above I get this error :
configure: error: The required libssh2 library was not found. You can obtain that package from http://sourceforge.net/projects/libssh2/
ERROR: `/root/tmp/pear/ssh2/configure --with-ssh2' failed
However, when I try to yum install libssh2, it says that the package is already installed.
Anyone have an idea on this one??
 

paknode

Registered
Aug 10, 2015
4
0
1
Pakistan
cPanel Access Level
Root Administrator
I attempted to pecl install channel://pecl.php.net/ssh2-0.12 and at first it asks for libssh2 prefix. I attempted to find the libssh2 on the system and could not find it. When doing the pecl command above I get this error :
configure: error: The required libssh2 library was not found. You can obtain that package from http://sourceforge.net/projects/libssh2/
ERROR: `/root/tmp/pear/ssh2/configure --with-ssh2' failed
However, when I try to yum install libssh2, it says that the package is already installed.
Anyone have an idea on this one??
on which OS you are installing it, please mention your OS too to look into this issue.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,216
463
Hello :)

You should be able to simply hit the enter key when prompted for a path and it will automatically detect it. Otherwise, please post the output from:

Code:
rpm -qa|grep ssh2
Thank you.