Centos Configure Error The Required Libssh2 Library Was Not Found
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About libssh2-php centos Us Learn more about Stack Overflow the company Business Learn more about hiring
Configure: Error: Libssh2 Version >= 1.2 Not Found
developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the
No Package Libssh2-devel Available
Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Install PECL SSH2 extension for
Ssh2 Pecl Extension For Windows
PHP up vote 10 down vote favorite I am trying to install this http://fr2.php.net/manual/en/book.ssh2.php on a Centos 5 (a fork of RHEL 5). I installed libssh2 (yum install libssh2) wich is located in /usr/lib, and when I install SSH2 extension (via pecl install -f ssh2) I get this message checking for ssh2 files in default path... not found configure: error: The required libssh2 library was not libssh2 prefix? 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 If I set /usr/lib, I get the same message ERROR: `/tmp/pear/download/ssh2-0.11.0/configure --with-ssh2=/usr/lib' failed Where is the problem? php ssh share|improve this question edited Apr 15 '13 at 17:44 marco-fiset 9551028 asked Feb 18 '09 at 13:21 Cédric Girard 1,50172647 add a comment| 5 Answers 5 active oldest votes up vote 20 down vote accepted Installing libssh2 via tar.gz from http://sourceforge.net/projects/libssh2/ help a lot (--with-ssh2=/usr/local/include/). But "yum install libssh2-devel" is a better idea. share|improve this answer edited Feb 23 '09 at 14:50 answered Feb 18 '09 at 13:54 Cédric Girard 1,50172647 What repository are you getting that from? I can't find it in the default or in Atomic. –Ian Dunn Jan 19 '12 at 18:18 1 Nevermind, I found them at repoforge.org –Ian Dunn Jan 19 '12 at 20:00 Don't we need pecl install as well? –eric Jun 4 '14 at 13:43 No need for PECL for this installation, but you may have another solution. –Cédric Girard Jun 5 '14 at 15:22 add a comment| up vote 2 down vote $ sudo pecl channel-update pecl.php.net $ sudo a
Installing, Configuring, Troubleshooting server daemons such as Web and Mail Post Reply Print view Search Advanced search 3 posts • Page 1 of 1 Wolf95 Posts: 1 Joined: 2011/11/13 04:38:41 PHP-SSH2 + libssh2 Quote Postby Wolf95 » 2011/11/13 04:43:10 Hello, I php ssh2 install have been working on a PHP script that requires PHP's SSH2 functions, the only problem libssh2 prefix? [autodetect] : is that: I am missing libssh2, and I do not know where I am supposed to put files/installation procedure for this package. I install libssh2 ubuntu attempted to install it with: "pecl install ssh2 channel://pecl.php.net/ssh2-0.11.3" The output from pecl is as follows:Code: Select allchecking for ssh2 support... yes, shared checking for ssh2 files in default path... not found
configure: error: The required libssh2 http://stackoverflow.com/questions/561024/install-pecl-ssh2-extension-for-php library was not found.
You can obtain that package from http://sourceforge.net/projects/libssh2/
ERROR: `/tmp/pear/temp/ssh2/configure --with-ssh2' failed Top milosb Posts: 661 Joined: 2009/01/18 00:39:15 Location: 44 49′14″N 20 27′44″E Contact: Contact milosb WLM PHP-SSH2 + libssh2 Quote Postby milosb » 2011/11/13 12:03:17 What's wrong with the php-pecl-ssh2 package available from Repoforge (formerly RPMforge)? Code: Select allName : php-pecl-ssh2
Arch : x86_64
Version : 0.11.0
Release : 1.el5.rf
Size : http://www.centos.org/forums/viewtopic.php?t=28342 78 k
Repo : rpmforge
Summary : PECL package for SSH2
URL : http://pecl.php.net/package/ssh2
License : PHP
Description: Provides bindings to the functions of libssh2 which implements the SSH2 protocol.
: libssh2 is available from http://www.sourceforge.net/projects/libssh2
I never used the method of installing software you're using, but I believe it's very similar to Source Installs which are highly discouraged on CentOS. BTW, the server you're installing this package on is not cPanel by a chance, is it? If it is, please read about Broken vServer and Other Voices before proceeding with any installations. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post Reply Print view 3 posts • Page 1 of 1 Return to “CentOS 5 - Server Support” Jump to CentOS General Purpose CentOS - FAQ & Readme First Announcements CentOS Social User Comments Website Problems CentOS 7 CentOS 7 - General Support CentOS 7 - Software Support CentOS 7 - Hardware Support CentOS 7 - Networking Support CentOS 7 - Security Support CentOS 6 CentOS 6 - General Support CentOS 6 - Software Support CentOS 6 - Hardware Support CentOS 6 - Networking Support CentOS 6 - Security
here for a quick overview of the site Help Center Detailed answers to any questions http://superuser.com/questions/778250/pecl-ssh2-installation-issue you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power not found users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top PECL SSH2 Installation issue up vote 1 down vote favorite I am running this command: sudo pecl install ssh2 It resulting centos configure error the following log and exit with an error: libssh2 prefix? [autodetect] : building in /var/tmp/pear-build-rootHyRX5L/ssh2-0.12 running: /var/tmp/ssh2/configure --with-ssh2 checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-