Jared Hamilton <jared <at> fastmail.com> writes:

> 
> Hi Olivier,
> 
> I ran into this same issue. I simply rebuilt ssh after applying
> libcrypto patch with:
>     cd /usr/src/usr.bin/ssh
>     make obj
>     make depend
>     make
>     make install
> 
> Hope that helps
> 
> --
> Jared

Thank you Jared.

I did as you suggest, however :
/usr/src/usr.bin/ssh # make
===> lib
===> ssh
===> sshd
cc   -o sshd sshd.o auth-rhosts.o auth-passwd.o sshpty.o sshlogin.o
servconf.o serverloop.o auth.o auth2.o auth-options.o session.o
auth-chall.o auth2-chall.o groupaccess.o auth-bsdauth.o auth2-hostbased.o
auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o
monitor.o monitor_wrap.o sftp-server.o sftp-common.o roaming_common.o
roaming_serv.o sandbox-systrace.o -L/usr/src/usr.bin/ssh/sshd/../lib/obj
-lssh -lutil -L/usr/src/usr.bin/ssh/sshd/../lib/obj -lssh -lutil -lcrypto
-lutil -lz
sshd.o: In function `main':
sshd.c:(.text+0x414e): undefined reference to `do_authentication'
monitor.o: In function `mm_answer_rsa_response':
monitor.c:(.text+0x9e0): undefined reference to `auth_rsa_verify_response'
monitor.o: In function `mm_answer_rsa_challenge':
monitor.c:(.text+0xbd7): undefined reference to `auth_rsa_generate_challenge'
monitor.o: In function `mm_answer_rsa_keyallowed':
monitor.c:(.text+0xe41): undefined reference to `auth_rsa_key_allowed'
monitor.o: In function `mm_answer_keyallowed':
monitor.c:(.text+0x1faf): undefined reference to `auth_rhosts_rsa_key_allowed'
/usr/lib/libcrypto.so.35.0: undefined reference to `ENGINE_load_rsax'
/usr/lib/libcrypto.so.35.0: undefined reference to `EVP_mdc2'
collect2: ld returned 1 exit status
*** Error 1 in sshd (<bsd.prog.mk>:87 'sshd')
*** Error 1 in /usr/src/usr.bin/ssh (<bsd.subdir.mk>:48 'all')

I'm not a developer. Maybe I should have rebuilt /usr/src with cd-src.tar.gz
before?

Plus, as I wrote, there are 50+ apps linked with libcrypto, and I prefer
putting back all base58.tgz in place instead of rebuilding all of them.

Anyway, it seems that now we are two having experienced that.

Olivier

Reply via email to