[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Libssh static linking.


Hello, i am Balazs Vakulya. I compile the libssh source code, dynamic and
static version. The dinamic linking is work perfectly, but when i use the
static version, the programs run, but always return the
ssh_connect(my_ssh_session) function -1. What is the problem? I can't solve
it two weeks ago. Thanks Balazs

Here is the log message:

[2015/03/13 12:34:40.958205, 1] ssh_connect:  libssh 0.6.4 (c) 2003-2014
Aris Ad
amantiadis, Andreas Schneider, and libssh contributors. Distributed under
the LG
PL, please refer to COPYING file for information about your rights, using
thread
ing threads_noop
[2015/03/13 12:34:44.109443, 1] ssh_connect_host_nonblocking:  Failed to
connect
: No such file or directory
[2015/03/13 12:34:44.110444, 2] ssh_socket_connect:  Nonblocking connection
sock
et: -1
[2015/03/13 12:34:44.111445, 2] channel_open:  Creating a channel 43 with
64000
window and 32768 max packet
[2015/03/13 12:34:44.111445, 1] ssh_socket_nonblocking_flush:  Writing
packet: e
rror on socket (or connection closed): Unknown error
[2015/03/13 12:34:44.112449, 3] packet_send2:  packet: wrote
[len=36,padding=11,
comp=24,payload=24]
[2015/03/13 12:34:44.112449, 3] channel_open:  Sent a SSH_MSG_CHANNEL_OPEN
type
session for channel 43
-1Press any key to continue . . .

Archive administrator: postmaster@lists.cynapses.org