SCP & SSH errors

Hi

I am trying to scp a file between to servers (both on same subnet and can see each other). However, whenever I try I get the following error:

ld.so.1: ssh: fatal: relocation error: file /usr/local/bin/ssh: symbol EVP_CIPHER_CTX_key_length: referenced symbol not found
lost connection

I have done 'ldd -d /usr/local/bin/ssh' and 'ldd -d /usr/local/bin/scp' and all the dependencies are met

-bash-3.00# ldd -d /usr/local/bin/scp
libresolv.so.2 => /usr/lib/libresolv.so.2
libcrypto.so.0.9.8 => /usr/local/ssl/lib/libcrypto.so.0.9.8
librt.so.1 => /usr/lib/librt.so.1
libbsm.so.1 => /usr/lib/libbsm.so.1
libz.so => /usr/local/lib/libz.so
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /lib/libdl.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libaio.so.1 => /lib/libaio.so.1
libmd5.so.1 => /lib/libmd5.so.1
libsecdb.so.1 => /lib/libsecdb.so.1
libtsol.so.2 => /lib/libtsol.so.2
libmp.so.2 => /lib/libmp.so.2
libscf.so.1 => /lib/libscf.so.1
libcmd.so.1 => /lib/libcmd.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libm.so.2 => /lib/libm.so.2

-bash-3.00# ldd -d /usr/local/bin/ssh
libresolv.so.2 => /usr/lib/libresolv.so.2
libcrypto.so.0.9.8 => /usr/local/ssl/lib/libcrypto.so.0.9.8
librt.so.1 => /usr/lib/librt.so.1
libbsm.so.1 => /usr/lib/libbsm.so.1
libz.so => /usr/local/lib/libz.so
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /lib/libdl.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libaio.so.1 => /lib/libaio.so.1
libmd5.so.1 => /lib/libmd5.so.1
libsecdb.so.1 => /lib/libsecdb.so.1
libtsol.so.2 => /lib/libtsol.so.2
libmp.so.2 => /lib/libmp.so.2
libscf.so.1 => /lib/libscf.so.1
libcmd.so.1 => /lib/libcmd.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libm.so.2 => /lib/libm.so.2

I have tried it as myself and as root and even deleted the entry from ~/.ssh/known_hosts of the server I am trying to copy to but still no luck.

I have tried googling this but only get 2 hits - both in spanish.

If anybody has any ideas I would be most grateful as I am having to revert to ftp-ing the 1.2GB file to my desktop and then ftp-ing to the other server.

They are both Solaris 10 x86 boxes.

Thanks

Steve.

we need to know what procedure you used to configure your ssh and how you planted your keys.

Hi Incredible

I have been reading the docs on sunfreeware.com. Whoever setup and installed the server did not install the correct version of openssl to go with the version of openssh installed:

quote: "Openssh also requires the installation of the packages openssl-0.9.8k (do not use the older openssl packages on this level of Solaris)".

We had version openssl-0.9.8d. I have installed the correct version and whaddya know, it works.

Case closed.

Thanks

Good, this was what I suspected

An "ldd -r" (a more "agressive" run of ldd) would have highlighted the missing symbols.