in reply to Re^2: Need Help Installing Net::SSH2
in thread Need Help Installing Net::SSH2
Go into the directory that you untarred the src to and type:
A list of all the different options will popup. I would recommend doing:./configure --help
The "--with-gnu-ld" is necessary in order to properly do ldconfig. So the mantra is:./configure --enable-shared --with-gnu-ld
Now run./configure --enable-shared --with-gnu-ld make make check make install /sbin/ldconfig /usr/local/lib
If everything's in order, then it should return something like:whereis libssh2
Update: I think that you have the same problem with OpenSSL. Here's the most recent tarball:/usr/local/lib/libssh2.so /usr/local/lib/libssh2.a /usr/local/lib/libssh2.la
http://www.openssl.org/source/openssl-1.0.0d.tar.gz
It's a slightly more complicated procedure. First, you need to remove the current openssl include headers. Then doNext, you must manually install Net::SSH2../Configure linux-elf -march=pentium make make test make install
Now, you're good to go...export LD_LIBRARY_PATH=/usr/local/lib perl Makefile.PL lib=/usr/local/lib make make test make install
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Need Help Installing Net::SSH2
by DanielSpaniel (Scribe) on Aug 29, 2011 at 21:03 UTC | |
Re^4: Need Help Installing Net::SSH2
by DanielSpaniel (Scribe) on Sep 04, 2011 at 19:20 UTC | |
by Khen1950fx (Canon) on Sep 05, 2011 at 04:25 UTC | |
by DanielSpaniel (Scribe) on Sep 07, 2011 at 18:18 UTC | |
Re^4: Need Help Installing Net::SSH2
by Anonymous Monk on Apr 30, 2014 at 19:23 UTC |
In Section
Seekers of Perl Wisdom