configure problem --- Can't find recent OpenSSL libcrypto
Carson Gaspar
carson at taltos.org
Sat Jun 22 07:34:26 EST 2002
--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
More information about the openssh-unix-dev
mailing list