Re: [Ssh-sftp-perl-users] Error installing Net::SSH2
Brought to you by:
dbrobins
From: Charles S B. <cb...@jc...> - 2007-02-09 13:36:51
|
David Robins wrote: > This appears to be a libssh2 issue and not specifically Net::SSH2; the > perl module is finding libssh2 but libssh2 can't find some of its symbols. > How did you build libssh2? Did you run its tests? Thank you for your response. I went ahead and re-built libssh2 to get some screen captures. - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - Openssl location: /usr/sfw/include/openssl - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - development[/netdist/apps/libssh2-0.14]# ./configure --with-openssl=3D/usr/sfw checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking for gcc... gcc 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...=20 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 ANSI C... none needed checking for socket in -lsocket... yes checking for ceil in -lm... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for a BSD-compatible install... ./install-sh -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking whether byte ordering is bigendian... yes checking for pkg-config... /usr/bin/pkg-config checking for OpenSSL... Using explicit path /usr/sfw checking for libz... Found in /usr/include /usr/lib checking how to run the C preprocessor... gcc -E checking for egrep... egrep checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for poll... yes checking for gettimeofday... yes checking for select... yes checking for an ANSI C-conforming const... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/libssh2_config.h config.status: include/libssh2_config.h is unchanged development[/netdist/apps/libssh2-0.14]#=20 - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - The docs state I should now "make all install". When I look in the makefile, I don't see a "test:" section. development[/netdist/apps/libssh2-0.14]# make all install make[1]: Entering directory `/tftpboot/netdist/apps/libssh2-0.14/src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/tftpboot/netdist/apps/libssh2-0.14/src' ./mkinstalldirs /usr/local/include ./mkinstalldirs /usr/local/lib make[1]: Entering directory `/tftpboot/netdist/apps/libssh2-0.14/src' .././install-sh -c libssh2.so /usr/local/lib make[1]: Leaving directory `/tftpboot/netdist/apps/libssh2-0.14/src' ./install-sh -c -m 644 include/libssh2.h /usr/local/include/ ./install-sh -c -m 644 include/libssh2_sftp.h /usr/local/include/ ./install-sh -c -m 644 include/libssh2_publickey.h /usr/local/include/ development[/netdist/apps/libssh2-0.14]#=20 I attempt to install Net::SSH2 via cpan, same errors as in previous post. - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - =3D - Other Info: development[/usr/sfw/include/openssl]# find / -name libssh2.so /usr/local/lib/libssh2.so |