rsaref usage

Mate Wierdl mw at moni.msci.memphis.edu
Tue Mar 7 11:08:59 EST 2000


First, when I tried to start sshd, I got the message

Starting sshd: ssh-keygen: no RSA support in libssl and libcrypto.
See ssl(8).
sshd: no RSA support in libssl and libcrypto -- exiting.  See ssl(8)
no RSA support in libssl and libcrypto -- exiting.  See ssl(8)

So I thought I have to recompile openssl with rsaref flag to config.
When I did that, I got compilation error (this is version 0.9.5 of
openssl):

gcc -o openssl -DMONOLITH -I../include -DTHREADS -D_REENTRANT -DRSAref
-mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W
-DULTRASPARC -DMD5_ASM openssl.o verify.o asn1pars.o req.o dgst.o dh.o
dhparam.o enc.o passwd.o gendh.o errstr.o  ca.o pkcs7.o crl2p7.o crl.o
rsa.o dsa.o dsaparam.o  x509.o genrsa.o gendsa.o s_server.o s_client.o
speed.o  s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o
sess_id.o  ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o
-L. -L.. -L../.. -L../../.. -L.. -lssl -L.. -lcrypto
-L/space/local/lib
s_server.o: In function `sv_body':
s_server.o(.text+0x10a4): undefined reference to `shutdown'
s_server.o(.text+0x142c): undefined reference to `shutdown'
s_server.o: In function `close_accept_socket':
s_server.o(.text+0x24ec): undefined reference to `shutdown'
s_client.o: In function `s_client_main':
s_client.o(.text+0x940): undefined reference to `shutdown'
s_client.o(.text+0xa14): undefined reference to `shutdown'
s_client.o(.text+0x12a0): more undefined references to `shutdown'
follow
speed.o: In function `speed_main':
speed.o(.text+0x3ec): undefined reference to `RSA_PKCS1_RSAref'
s_time.o: In function `s_time_main':
s_time.o(.text+0x72c): undefined reference to `shutdown'
s_time.o(.text+0x98c): undefined reference to `shutdown'
s_time.o(.text+0xab0): undefined reference to `shutdown'
s_socket.o: In function `nbio_init_client_ip':
s_socket.o(.text+0x6c): undefined reference to `socket'
s_socket.o(.text+0xa4): undefined reference to `setsockopt'
s_socket.o(.text+0xf4): undefined reference to `connect'
s_socket.o: In function `init_server':

[...]

rand_egd.o(.text+0x78): undefined reference to `connect'
../libcrypto.a(err_all.o): In function `ERR_load_crypto_strings':
err_all.o(.text+0x40): undefined reference to
`ERR_load_RSAREF_strings'
*** Error code 1
make: Fatal error: Command failed for target `openssl'
Current working directory
/space/local/src/redhat/BUILD/openssl-0.9.5/apps
*** Error code 1
make: Fatal error: Command failed for target `all'

This is on Solaris 2.6.  Can I compile openssl without rsaref, and
still use it with openssh?

Thx

Mate
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  





More information about the openssh-unix-dev mailing list