|
|||||||||||
|
OpenSSH & OpenSSL directory location problem.
From: jpiszcz <jpiszcz(at)lucidpixels.com>
Date: Fri Jan 31 2003 - 14:19:56 EST
OpenSSH & OpenSSL directory location problem.
checking whether snprintf correctly terminates long strings... yes
checking whether getpgrp requires zero arguments... yes
checking OpenSSL header version... 90608f (OpenSSL 0.9.6h [engine] 5
Dec 2002)
As you can see it finds it just fine by using the GCC variables below. Host: i686-pc-linux-gnu Compiler: gcc Compiler flags: -g -O2 -Wall -Wpointer-arith -Wno-uninitialized Preprocessor flags: -I/vapp/include Linker flags: -L/vapp/lib Libraries: -lutil -lz -lnsl -lcrypto -lcrypt
# GCC Variables (works with all programs, except OpenSSH.
export C_INCLUDE_PATH=/vapp/include:/usr/X11R6/include
export CPLUS_INCLUDE_PATH=/vapp/include:/usr/X11R6/include
export LIBRARY_PATH=/vapp/lib
# Yet, with every one of these, I get this error with SCP ONLY (SSH=FINE)
$ scp war@p300:/home/war/ping6 .
[war@war war]$ ssh p300
( no problems )
control-d
Connection to p300 closed.
war@p300:~$ ldd `which sshd`
libutil.so.1 => /lib/libutil.so.1 (0x40016000)
libz.so.1 => /vapp/lib/libz.so.1 (0x40019000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40027000)
libcrypto.so.0.9.6 => /vapp/lib/libcrypto.so.0.9.6 (0x4003c000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40109000)
libc.so.6 => /lib/libc.so.6 (0x40136000)
libdl.so.2 => /lib/libdl.so.2 (0x40259000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
war@p300:~$
war@p300:~$ ldd `which sshd`
libutil.so.1 => /lib/libutil.so.1 (0x40016000)
libz.so.1 => /vapp/lib/libz.so.1 (0x40019000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40027000)
libcrypto.so.0.9.6 => /vapp/lib/libcrypto.so.0.9.6 (0x4003c000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40109000)
libc.so.6 => /lib/libc.so.6 (0x40136000)
libdl.so.2 => /lib/libdl.so.2 (0x40259000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
war@p300:~$ echo $PATH
/vapp/bin:/vapp/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin war@p300:~$ echo $LD_LIBRARY_PATH /vapp/lib:/lib:/usr/lib:/usr/X11R6/lib war@p300:~$ So question = why does it work fine with sshd and not scp? Received on Mon Feb 3 12:10:08 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:52 EDT |
||||||||||
|
|||||||||||