You are not logged in.

#1 2007-10-12 07:47:53

fiod
Member
Registered: 2007-04-02
Posts: 205

Unresolved SSHD problem

Hey,

After a pacman -Syu, when trying to start sshd, I get:

[root@myhost fio]# /etc/rc.d/sshd start
:: Starting Secure Shell Daemon                                          [BUSY] 
/usr/sbin/sshd: symbol lookup error: /usr/sbin/sshd: undefined symbol: EVP_Cipher

I read somewhere that it has something to do with openssl not being installed, but I have it installed already..

Any help will be appreciated..

Thanks
Fiod

Offline

#2 2007-10-12 13:22:04

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: Unresolved SSHD problem

This might be a stupid question but have you tried reinstalling openssl?

Offline

#3 2007-10-12 15:37:24

fiod
Member
Registered: 2007-04-02
Posts: 205

Re: Unresolved SSHD problem

Tried already..

Didn't help.

Thanks for the reply anyhow.

Offline

#4 2007-10-12 16:15:43

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 128

Re: Unresolved SSHD problem

symbol definitely exists in openssl

/usr/lib/ nm -a /usr/lib/libcrypto.so.0.9.8| grep EVP_Cipher
000b6210 T EVP_Cipher

and sshd is linked against libcrypto

/usr/lib/ ldd `which sshd` | grep crypto
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7dad000)

check this on your setup

Offline

#5 2007-10-12 19:14:29

fiod
Member
Registered: 2007-04-02
Posts: 205

Re: Unresolved SSHD problem

Hey

Thanks for the great reply.

After typing ldd `which sshd` I am getting something a bit odd, that might be the problem:

[fio@myhost ~]$ ldd `which sshd`
        linux-gate.so.1 =>  (0xb7fa1000)
        libwrap.so.0 => /usr/lib/libwrap.so.0 (0xb7f7d000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7f73000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7f6f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7f5d000)
        libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0xb7e37000)
        libutil.so.1 => /lib/libutil.so.1 (0xb7e33000)
        libz.so.1 => /lib/libz.so.1 (0xb7e1b000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7e04000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7dd6000)
        libc.so.6 => /lib/libc.so.6 (0xb7ca5000)
        /lib/ld-linux.so.2 (0xb7fa2000)
[fio@myhost ~]$

Meaning, everything points to /lib and not /usr/lib.
Might that be the problem?

Though under /lib I DO have "libcrypto.so.0.9.8".

Tnx again for the reply.

Fiod

EDIT: Both libcrypto.so files, in /lib and in /usr/lib, have different size. Why is that?
And, typing "nm -a /lib/libcrypto.so.0.9.8" gives me "/lib/libcrypto.so.0.9.8: no symbols"

I copied the file from /usr/lib to /lib, and now everything works fine.
Though I get the feeling that there is something basically wrong...

Last edited by fiod (2007-10-12 19:24:03)

Offline

#6 2007-10-12 20:28:26

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 128

Re: Unresolved SSHD problem

try to find out which package own the file: pacman -Qo /lib/libcrypto.so.0.9.8 and if none remove the file,  restart services and if everything seems hoping that everyhing should work smile in my /lib there is no libcrypto and I wouldn't expect to find it there on other arch installations

Offline

Board footer

Powered by FluxBB