openssh 3.5p1 with openssl-0.9.7a - long

Ben Lindstrom mouring at etoh.eviladmin.org
Sat Feb 22 01:27:37 EST 2003


This is an issue with the scp on your remote side unable to find the
library which is needs.  You more than likely installed openssl 0.9.6 in a
non-standard location and you need to update your /etc/ld.conf or similar
concept on that remote machine.

- Ben

On Fri, 21 Feb 2003, gnu_is_not_unix at wp.pl wrote:

> Hi !
>
>
>
>
> This is my first posting so HELLO to everybody !
>
>
>
>
> I`m trying to install openssh 3.5 with newest version of openssl
> 0.9.7a on rh - i`m building rpms from spec included in openssl
> and openssh dist. All compilations went well, sshd, ssh is
> working but ... i can`t scp:
>
>
>
>
> [root at beer /root]# scp a.out root at dns:/root/
>
>
> root at dns's password:
>
>
> scp: error while loading shared libraries: libcrypto.so.0.9.6:
> cannot open shared object file: No such file or directory
>
>
> lost connection
>
>
>
>
> [root at beer /root]# strace scp a.out root at dns:/root/
>
>
> execve("/usr/bin/scp", ["scp", "a.out", "root at dns:/root/"], [/*
> 30 vars */]) = 0
>
>
> uname({sys="Linux", node="beer", ...})  = 0
>
>
> brk(0)                                  = 0x804f74c
>
>
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file
> or directory)
>
>
> open("/etc/ld.so.cache", O_RDONLY)      = 3
>
>
> fstat64(3, {st_mode=S_IFREG|0644, st_size=55610, ...}) = 0
>
>
> old_mmap(NULL, 55610, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
>
>
> close(3)                                = 0
>
>
> open("/lib/libresolv.so.2", O_RDONLY)   = 3
>
>
> read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\'\0"...,
> 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=261734, ...}) = 0
>
>
> old_mmap(NULL, 71236, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40025000
>
>
> mprotect(0x40033000, 13892, PROT_NONE)  = 0
>
>
> old_mmap(0x40033000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0xd000) = 0x40033000
>
>
> old_mmap(0x40034000, 9796, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40034000
>
>
> close(3)                                = 0
>
>
> open("/lib/libutil.so.1", O_RDONLY)     = 3
>
>
> read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\r\0"...,
> 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=47632, ...}) = 0
>
>
> old_mmap(NULL, 10936, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40037000
>
>
> mprotect(0x40039000, 2744, PROT_NONE)   = 0
>
>
> old_mmap(0x40039000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40039000
>
>
> close(3)                                = 0
>
>
> open("/usr/lib/libz.so.1", O_RDONLY)    = 3
>
>
> read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\30"...,
> 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=61092, ...}) = 0
>
>
> old_mmap(NULL, 56504, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x4003a000
>
>
> mprotect(0x40046000, 7352, PROT_NONE)   = 0
>
>
> old_mmap(0x40046000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0xb000) = 0x40046000
>
>
> close(3)                                = 0
>
>
> open("/lib/libnsl.so.1", O_RDONLY)      = 3
>
>
> read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200?\0"...,
> 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=448433, ...}) = 0
>
>
> old_mmap(NULL, 92000, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40048000
>
>
> mprotect(0x4005b000, 14176, PROT_NONE)  = 0
>
>
> old_mmap(0x4005b000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0x12000) = 0x4005b000
>
>
> old_mmap(0x4005d000, 5984, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4005d000
>
>
> close(3)                                = 0
>
>
> open("/usr/lib/libcrypto.so.0.9.7", O_RDONLY) = 3
>
>
> read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\277\2"...,
> 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1195382, ...}) = 0
>
>
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4005f000
>
>
> old_mmap(NULL, 1019256, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40060000
>
>
> mprotect(0x40144000, 85368, PROT_NONE)  = 0
>
>
> old_mmap(0x40144000, 73728, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0xe3000) = 0x40144000
>
>
> old_mmap(0x40156000, 11640, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40156000
>
>
> close(3)                                = 0
>
>
> open("/usr/kerberos/lib/libkrb5.so.3", O_RDONLY) = 3
>
>
> read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\360"...,
> 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=426149, ...}) = 0
>
>
> old_mmap(NULL, 358176, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40159000
>
>
> mprotect(0x401ae000, 10016, PROT_NONE)  = 0
>
>
> old_mmap(0x401ae000, 12288, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0x54000) = 0x401ae000
>
>
> close(3)                                = 0
>
>
> open("/usr/kerberos/lib/libk5crypto.so.3", O_RDONLY) = 3
>
>
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360
> \0"..., 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=78637, ...}) = 0
>
>
> old_mmap(NULL, 68148, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x401b1000
>
>
> mprotect(0x401c0000, 6708, PROT_NONE)   = 0
>
>
> old_mmap(0x401c0000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0xe000) = 0x401c0000
>
>
> close(3)                                = 0
>
>
> open("/usr/kerberos/lib/libcom_err.so.3", O_RDONLY) = 3
>
>
> read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\t\0\000"...,
> 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=8637, ...}) = 0
>
>
> old_mmap(NULL, 8584, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x401c2000
>
>
> mprotect(0x401c3000, 4488, PROT_NONE)   = 0
>
>
> old_mmap(0x401c3000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x401c3000
>
>
> close(3)                                = 0
>
>
> open("/lib/libc.so.6", O_RDONLY)        = 3
>
>
> read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\304\1"...,
> 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=5723895, ...}) = 0
>
>
> old_mmap(NULL, 1269096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x401c5000
>
>
> mprotect(0x402f2000, 36200, PROT_NONE)  = 0
>
>
> old_mmap(0x402f2000, 20480, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0x12c000) = 0x402f2000
>
>
> old_mmap(0x402f7000, 15720, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402f7000
>
>
> close(3)                                = 0
>
>
> open("/lib/libdl.so.2", O_RDONLY)       = 3
>
>
> read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\35"...,
> 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=65457, ...}) = 0
>
>
> old_mmap(NULL, 12516, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x402fb000
>
>
> mprotect(0x402fd000, 4324, PROT_NONE)   = 0
>
>
> old_mmap(0x402fd000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x402fd000
>
>
> close(3)                                = 0
>
>
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402ff000
>
>
> munmap(0x40017000, 55610)               = 0
>
>
> brk(0)                                  = 0x804f74c
>
>
> brk(0x804f7e4)                          = 0x804f7e4
>
>
> brk(0x8050000)                          = 0x8050000
>
>
> getuid32()                              = 0
>
>
> socket(PF_UNIX, SOCK_STREAM, 0)         = 3
>
>
> connect(3, {sin_family=AF_UNIX, path="
>
> /var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or
> directory)
>
>
> close(3)                                = 0
>
>
> open("/etc/nsswitch.conf", O_RDONLY)    = 3
>
>
> fstat64(3, {st_mode=S_IFREG|0644, st_size=1782, ...}) = 0
>
>
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
>
>
> read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1782
>
>
> brk(0x8051000)                          = 0x8051000
>
>
> read(3, "", 4096)                       = 0
>
>
> close(3)                                = 0
>
>
> munmap(0x40017000, 4096)                = 0
>
>
> 0xbffff15f, 1)                  = ? ERESTARTSYS (To be restarted)
>
>
> --- SIGWINCH (Window changed) --- st_size=55610, ...}) = 0
>
>
> read(7, (NULL, 55610, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
>
>
> close(3)                                = 0
>
>
> open("/lib/libnss_files.so.2", O_RDONLY) = 3
>
>
> read(3,
> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20!\0\000"...,
> 1024) = 1024
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=256723, ...}) = 0
>
>
> old_mmap(NULL, 41636, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
> 0x40300000
>
>
> mprotect(0x40309000, 4772, PROT_NONE)   = 0
>
>
> old_mmap(0x40309000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED, 3, 0x8000) = 0x40309000
>
>
> close(3)                                = 0
>
>
> munmap(0x40017000, 55610)               = 0
>
>
> open("/etc/passwd", O_RDONLY)           = 3
>
>
> fcntl64(3, F_GETFD)                     = 0
>
>
> fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
>
>
> fstat64(3, {st_mode=S_IFREG|0644, st_size=1899, ...}) = 0
>
>
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
>
>
> read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1899
>
>
> close(3)                                = 0
>
>
> munmap(0x40017000, 4096)                = 0
>
>
> (END)
>
>
> rt_sigaction(SIGPIPE, {0x804b8e0, [PIPE], SA_RESTART|0x4000000},
> {SIG_DFL}, 8) = 0
>
>
> pipe([3, 4])                            = 0
>
>
> pipe([5, 6])                            = 0
>
>
> pipe([7, 8])                            = 0
>
>
> close(3)                                = 0
>
>
> close(4)                                = 0
>
>
> fork()                                  = 2219
>
>
> close(5)                                = 0
>
>
> close(8)                                = 0
>
>
> read(7, root at dns's password:
>
>
> scp: error while loading shared libraries: libcrypto.so.0.9.6:
> cannot open shared object file: No such file or directory
>
>
> 0xbffff15f, 1)                  = ? ERESTARTSYS (To be restarted)
>
>
> --- SIGCHLD (Child exited) ---
>
>
> read(7, "", 1)                          = 0
>
>
> write(2, "lost connection\n", 16lost connection
>
>
> )       = 16
>
>
> _exit(1)                                = ?
>
>
> ----------------------------------------------------------------
> Najwiêksze Gwiazdy ¶piewaj± piosenki aktorskie < www.ppa.wp.pl >
>
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>




More information about the openssh-unix-dev mailing list