You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just install tmate server on my machine for personal use and for fun. so if you just install tmate server for fun, you might try these solutions. I am not ensure that it will work for you. Hope it is helpful for finding solutions.
my solution: I just set enviroment variable PKG_CONFIG_PATH after installing msgpack. Set PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"
error when execute make
In file included from /usr/include/libssh/libssh.h:67:0,
from tmate.h:7,
from client.c:35:
/usr/include/netdb.h:591:16: error: expected identifier or '(' before '[' token
int __unused([5]);
my solution: I just comment this line in /usr/include/netdb.h
error when execute make
error: ‘EVBUFFER_EOL_LF’ undeclared (first use in this function)
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar xzvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure && make && make install && ldconfig
errors when execute make
/lib64/libtinfo.so.5: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
my solution: I just add -ltinfo to Makefile LIBS = -lutil -lssh -lmsgpack -lncurses -L/usr/local/lib -levent -lrt -lresolv -ltinfo
errors when execute make
tmate-ssh-server.o: In function `prepare_ssh':
/mnt/datadisk1/software/tmate-slave/tmate-ssh-server.c:263: undefined reference to `ssh_set_log_callback'
tmate-ssh-server.o: In function `auth_pubkey_cb':
/mnt/datadisk1/software/tmate-slave/tmate-ssh-server.c:119: undefined reference to `ssh_pki_export_pubkey_base64'
tmate-ssh-server.o: In function `client_bootstrap':
/mnt/datadisk1/software/tmate-slave/tmate-ssh-server.c:194: undefined reference to `ssh_set_server_callbacks'
/mnt/datadisk1/software/tmate-slave/tmate-ssh-server.c:199: undefined reference to `ssh_set_auth_methods'
/mnt/datadisk1/software/tmate-slave/tmate-ssh-server.c:206: undefined reference to `ssh_event_new'
/mnt/datadisk1/software/tmate-slave/tmate-ssh-server.c:207: undefined reference to `ssh_event_add_session'
/mnt/datadisk1/software/tmate-slave/tmate-ssh-server.c:210: undefined reference to `ssh_event_dopoll'
collect2: error: ld returned 1 exit status
make: *** [tmate-slave] Error 1
my solution: I just add -L/usr/lib to Makefile LIBS = -lutil -lssh -lmsgpack -lncurses -L/usr/lib -L/usr/local/lib -levent -lrt -lresolv -ltinfo
The text was updated successfully, but these errors were encountered:
I just install tmate server on my machine for personal use and for fun. so if you just install tmate server for fun, you might try these solutions. I am not ensure that it will work for you. Hope it is helpful for finding solutions.
"msgpack >= 1.2.0 not found"
my solution: I just set enviroment variable PKG_CONFIG_PATH after installing msgpack. Set
PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"
my solution: I just comment this line in
/usr/include/netdb.h
my solution: I just follow solution here.
my solution: I just add -ltinfo to
Makefile
LIBS = -lutil -lssh -lmsgpack -lncurses -L/usr/local/lib -levent -lrt -lresolv -ltinfo
my solution: I just add
-L/usr/lib
toMakefile
LIBS = -lutil -lssh -lmsgpack -lncurses -L/usr/lib -L/usr/local/lib -levent -lrt -lresolv -ltinfo
The text was updated successfully, but these errors were encountered: