alain.morel at ig-edu.univ-paris13.fr
2004-Oct-04 06:57 UTC
scp does not works under solaris
OS : solaris8 with update patches Station : Sparc Ultra5 device /dev/random installed openssl version : openssl-0.9.7d openssh version : openssh-3.9p1 My configuration : ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-tcp-wrappers --with-privsep-user=sshd40 --with-ssl-dir=/usr/lib ssh works but when I lauch scp I have the following error sylow[root]<45>scp README thales:/ Enter passphrase for key '/.ssh/id_dsa': ld.so.1: scp: fatal: libz.so: open failed: No such file or directory Killed lost connection But libz.so exist and is detected at configure time: sylow[root]<46>ls -l /usr/lib/libz* lrwxrwxrwx 1 root root 11 nov 7 2001 /usr/lib/libz.so -> ./libz.so.1 -rwxr-xr-x 1 root bin 70064 oct 4 2003 /usr/lib/libz.so.1 -rwxr-xr-x 1 root bin 66645 juin 10 2002 /usr/lib/libz.so.1.1.4 I also compile with the following line ( with explicit zlib option ) : ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-tcp-wrappers --with-privsep-user=sshd40 --with-ssl-dir=/usr/lib --with-zlib=/usr/lib I have the same error What does happen and is this problem known? Thank you for a response Thanh you also to openssh team. Sincerly yours Alain MOREL Universite Paris13 Institut Galilee - SERCAL 99 Avenue Jean-Baptiste Clement 93430 Villetaneuse Tel : 33 1 49 40 36 19
alain.morel at ig-edu.univ-paris13.fr wrote: [...]> ssh works but when I lauch scp I have the following error > > sylow[root]<45>scp README thales:/ > Enter passphrase for key '/.ssh/id_dsa': > ld.so.1: scp: fatal: libz.so: open failed: No such file or directory > Killed > lost connection > But libz.so exist and is detected at configure time:Perhaps LD_LIBRARY_PATH is set wrong for non-interactive logins, or someone fiddled with crle(1)? -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.