Re: [Ssh-sftp-perl-users] Make test fails when trying to build Net::SSH2
Brought to you by:
dbrobins
From: Heiko J. <ja...@hb...> - 2007-11-21 16:32:46
|
Am Mittwoch, den 21.11.2007, 18:07 +0200 schrieb Yonatan Katchen: > I succesfully ran make Net::SSH2 0.18 against libssh2 0.18 but the "make > test" fails on the first test with this message: > > I verified that both the files in the "Can't load" are there. > Any ideas on what's wrong? Did you do anything special to tell "make" where to find libssh2? Or is libssh2 installed in a common path (/usr/lib, /usr/local/lib)? If not, maybe you could try ~> LD_LIBRARY_PATH=<PathToLibSsh2SoDirectory>:$LD_LIBRARY make test and see what happens... If that helps and you don't have plans to put libssh2 in a standard path you could try to link Net::SSH2 with "-R<PathToLibSsh2SoDirectory>" (cf. "man ld" and the option -R (or -rpath). Heiko |