dsniff icon indicating copy to clipboard operation
dsniff copied to clipboard

Problems while "make"

Open imofelrj opened this issue 5 years ago • 1 comments

gcc -g -O2 -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/usr/local/share/dsniff/\" -I. -I./missing -I/usr/local/opt/libpcap/include -I/usr/local/opt/libnet/include -I/usr/local/opt/libnids/include -I/usr/local/opt/openssl/include -I/usr/local/include -c ./ssh.c gcc -g -O2 -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/usr/local/share/dsniff/\" -I. -I./missing -I/usr/local/opt/libpcap/include -I/usr/local/opt/libnet/include -I/usr/local/opt/libnids/include -I/usr/local/opt/openssl/include -I/usr/local/include -c ./sshcrypto.c gcc -lglib-2.0 -lgthread-2.0 -o sshmitm sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o -lresolv -L. -lmissing -L/usr/local/opt/libnet/lib -lnet -L/usr/local/lib -ldb -L/usr/local/opt/openssl/lib -lssl -lcrypto Undefined symbols for architecture x86_64: "_ERR_load_crypto_strings", referenced from: _SSH_init in ssh.o "_SSL_library_init", referenced from: _SSH_init in ssh.o "_SSL_load_error_strings", referenced from: _SSH_init in ssh.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [sshmitm] Error 1

imofelrj avatar Oct 11 '20 02:10 imofelrj

Undefined symbols for architecture x86_64: "_ERR_load_crypto_strings", referenced from: _SSH_init in ssh.o "_SSL_library_init", referenced from: _SSH_init in ssh.o "_SSL_load_error_strings", referenced from: _SSH_init in ssh.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [sshmitm] Error 1

imofelrj avatar Oct 11 '20 03:10 imofelrj