Simon,

Thanks... I D/L the latest and ran it.  Looks like it gets past the lssl
problem.

r...@aix1/usr/opt/perl5/mods/libssh2-0.19.0_CVS-->./configure
--with-libssl-prefix=/usr/local/ssl
.
.
.
checking for libssl... yes
checking how to link with libssl... /usr/local/ssl/lib/libssl.a
/usr/local/ssl/lib/libcrypto.a
checking for libz... no
configure: Cannot find libz, disabling compression
configure: Try --with-libz-prefix=PATH if you know you have it
checking whether to enable pedantic and debug compiler options... no
checking errno.h usability... yes
checking errno.h presence... yes

However, when I run "make" I get the following error:

#make
"Makefile", line 695: make: 1254-055 Dependency line needs colon or double
colon operator.
"Makefile", line 696: make: 1254-055 Dependency line needs colon or double
colon operator.
make: 1254-058 Fatal errors encountered -- cannot continue.


Any ideas?

Thanks,

Mark
-----Original Message-----
From: Simon Josefsson [mailto:si...@josefsson.org] 
Sent: Wednesday, December 17, 2008 11:31 AM
To: David M. Funk
Cc: libssh2-devel@lists.sourceforge.net
Subject: Re: libssh2 install fails on AIX 5.3

"David M. Funk" <mf...@trinitysol.net> writes:

> I am getting an error when I try to install libssh2-0.18 on my aix server.
> Anybody run into this?  Any help will be much appreciated.
>
> I run ./configure and that works ok.  But when I run "make" I get this
> error:
>
> r...@aix1/usr/opt/perl5/mods/libssh2-0.18-->
...
>         /bin/sh ../libtool --tag=CC --mode=link cc -qlanglvl=extc89  -g
> -I/usr/local/ssl/include   -L/usr/local/ssl/lib -lcrypto -o libssh2.la
> -rpath /usr/local/lib -version-info 1:0:0 -no-undefined  channel.lo
comp.lo
> crypt.lo hostkey.lo kex.lo  mac.lo misc.lo packet.lo publickey.lo scp.lo
> session.lo  sftp.lo userauth.lo pem.lo transport.lo   openssl.lo  

-lcrypto is present, but not -lssl, which is the problem.

> ld: 0711-317 ERROR: Undefined symbol: .RAND_bytes

Thus the libssl.so symbols are not present, and it fails.

I believe this problem is fixed in CVS, so please try a daily snapshot:

http://daily.josefsson.org/libssh2/

Alternatively, add -lssl manually to the command that fails, in the src/
directory.

/Simon


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to