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
In Section
Seekers of Perl Wisdom