installing openssh5.1p

Darren Tucker dtucker at zip.com.au
Tue Dec 30 12:18:46 EST 2008


On Tue, Dec 23, 2008 at 09:14:30AM +0530, Dhanya M.B wrote:
>  Hi,
>  
>  I was trying to install openssh 5.1p from openssh-5.1p1.tar.gz    downloaded  from www.openssh.com
>   My system OS is RedHatEnterpriseLinux5.0 Desktop (RHEL5.0)  (64 bit).
>    We have zlib-1.2.3-3 and openssl-0.9.8b-8.3.el5 installed
>   in the syatem.
> 
>  I untarred openssh-5.1p1.tar.gz to
> /usr/local/openssh/openssh-5.1p1/.
> 
> When i gave the command ./configure , an error was seen at the end
> which is :
>  configure: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***
> 
>  I have attached the config.log for reference.

The error is:

/usr/bin/ld: cannot find -lcrypto

This means that it can't link the OpenSSL crutpo library.  This can be a
couple of things:

a) openssl isn't installed (unlikely).  It that's the case, install
openssl and openssl-devel rpms.

b) You have a 64-bit OpenSSL and you're trying to build a 32-bit binary,
or vice versa.  Either install the libraries for the binary type you're
trying to build, or force the binary type ("CFLAGS-"-m32" ./configure"
or "CFLAGS=-m64 ./configure".

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list