Debian Configure Error The Required Libssh2 Library Was Not Found
Contents |
here for a quick overview of the site Help Center Detailed answers to any libssh2-php centos questions you might have Meta Discuss the workings and policies configure: error: libssh2 version >= 1.2 not found of this site About Us Learn more about Stack Overflow the company Business Learn more about no package libssh2-devel available hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow ssh2 pecl extension for windows 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 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 Prefix?
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 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,50672647 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,50672647 What repository are you getting that from? I c
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 Us Learn more about
Php Ssh2 Install
Stack Overflow the company Business Learn more about hiring developers or posting ads with ubuntu libssh2 us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts libssh2 prefix? [autodetect] : and power 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 http://stackoverflow.com/questions/561024/install-pecl-ssh2-extension-for-php PECL SSH2 Installation issue up vote 1 down vote favorite I am running this command: sudo pecl install ssh2 It resulting 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 http://superuser.com/questions/778250/pecl-ssh2-installation-issue 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-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for ssh2 support... yes, shared 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
Plans & Pricing Partners Support Resources Preview Forums Forums Quick Links Search Forums New Posts Search titles only Posted by Member: Separate names https://forums.cpanel.net/threads/issues-with-installing-ssh2.491561/ with a comma. Newer Than: Search this thread only Search this forum https://github.com/ropensci/git2r/issues/216 only Display results as threads More... Useful Searches Recent Posts Resources Resources Quick Links Search Resources Most Active Authors Latest Reviews Feature Requests Defects Menu Log in Sign up The Community Forums Interact with an entire community of cPanel & WHM users! cPanel Forums > cPanel & not found WHM® (for Linux® Servers) > General Discussion > This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More. Issues with installing ssh2 Discussion in 'General Discussion' started by Cody Brown, Aug 12, 2015. Cody Brown Registered Joined: Jul 27, 2015 Messages: 3 Likes Received: 0 Trophy Points: 1 Location: debian configure error 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?? #1 Cody Brown, Aug 12, 2015 paknode Registered Joined: Aug 10, 2015 Messages: 4 Likes Received: 0 Trophy Points: 1 Location: Pakistan cPanel Access Level: Root Administrator Cody Brown said: ↑ 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 h
Sign in Pricing Blog Support Search GitHub This repository Watch 9 Star 89 Fork 23 ropensci/git2r Code Issues 27 Pull requests 1 Projects 0 Wiki Pulse Graphs New issue Install error on OSX (iconv not found) #216 Closed nipunbatra opened this Issue Jan 9, 2016 · 7 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants nipunbatra commented Jan 9, 2016 > install.packages("git2r") Installing package into ‘/Users/nipunbatra/Library/R/3.2/library’ (as ‘lib’ is unspecified) trying URL 'http://cran.rstudio.com/src/contrib/git2r_0.13.1.tar.gz' Content type 'application/x-gzip' length 1058457 bytes (1.0 MB) ================================================== downloaded 1.0 MB * installing *source* package ‘git2r’ ... ** package ‘git2r’ successfully unpacked and MD5 sums checked checking build system type... x86_64-apple-darwin15.0.0 checking host system type... x86_64-apple-darwin15.0.0 checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for pkg-config... yes checking for library containing inflate... -lz checking for library containing EVP_EncryptInit... -lcrypto checking for library containing SSL_library_init... -lssl checking whether pkg-config could find libssh2... yes checking for library containing iconv_open... no configure: error: in `/private/var/folders/f4/kky9_80570ndrfzk8805mxh00000gp/T/RtmpTsufz4/R.INSTALL10ec111b55415/git2r': configure: error: iconv library required See `config.log' for more details ERROR: configuration failed for package ‘git2r’ * removing ‘/Users/nipunbatra/Library/R/3.2/library/git2r’ Warning in install.packages : installation of package ‘git2r’ had non-zero exit status I do seem to have iconv library. ▶ where iconv /opt/local/bin/iconv /usr/bin/iconv I had earlier written a comment in #205 as well. nipunbatra commented Jan 9, 2016 When I try installing from source, I get the following errors. Interestingly, libssh2 errors don't come when I'm installing from CRAN. ~/git/git2r master ✔ 15m ▶ make install cd .. && R CMD INSTALL git2r * installing to library ‘/Users/nipunbatra/Library/R/3.2/l