configure problem --- Can't find recent OpenSSL libcrypto

Santanu Misra santanu.misra at reuters.com
Sun Jun 23 10:50:20 EST 2002


Hi Carson,

Thanks for mentioning about the 64/32 bit issue.
I was able to configure ssh now :)

But for further a good document to look.

http://www.sun.com/solutions/blueprints/0701/openSSH.pdf

Markus, Can it be mentioned in the INSTALL of later release of OPENSSH.

Thanks every one for all the help.

-Santanu
-----Original Message-----
From: Carson Gaspar [mailto:carson at taltos.org] 
Sent: Friday, June 21, 2002 2:34 PM
To: 'openssh-unix-dev at mindrot.org'
Subject: Re: configure problem --- Can't find recent OpenSSL libcrypto



--On Thursday, June 20, 2002 5:29 PM -0700 Santanu Misra 
<santanu.misra at reuters.com> wrote:

> $config solaris64-sparcv9-cc --prefix=/local/santanu/pkg/ssl

This generates a 64-bit OpenSSL library

> configure:7846: result: yes
> configure:8215: cc -o conftest -g -I/local/santanu/pkg/ssl/include
> -I/usr/local/include -L/local/santanu/pkg/ssl/lib -R/lo
> cal/santanu/pkg/ssl/lib  -L/usr/local/lib -R/usr/local/lib conftest.c -lz
> -lsocket -lnsl  -lcrypto >&5
> Undefined                       first referenced
>  symbol                             in file
> RAND_add                            conftest.o
> ld: fatal: Symbol referencing errors. No output written to conftest

This is looking for a 32-bit OpenSSL library (note the lack of 64-bit 
options for cc).

You may not mix 64-bit and 32-bit objects in Solaris.

You must either:

- Compile OpenSSL in 32-bit mode

or

- Add the appropriate 64-bit options to CPPFLAGS when compiling OpenSSH.

-- 
Carson

_______________________________________________
openssh-unix-dev at mindrot.org mailing list
http://www.mindrot.org/mailman/listinfo/openssh-unix-dev



More information about the openssh-unix-dev mailing list