I have trouble installing mitmproxy
on my Ubuntu 16.04. When installing, I get the following output: (I pasted only the part that seems significant to this issue for brevity)
creating build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c build/temp.linux-x86_64-3.5/_openssl.c -o build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5/_openssl.o
build/temp.linux-x86_64-3.5/_openssl.c:724:6: error: conflicting types for âBIO_new_mem_bufâ
BIO *BIO_new_mem_buf(void *, int);
^
In file included from /usr/include/openssl/asn1.h:65:0,
from build/temp.linux-x86_64-3.5/_openssl.c:440:
/usr/include/openssl/bio.h:692:6: note: previous declaration of âBIO_new_mem_bufâ was here
BIO *BIO_new_mem_buf(const void *buf, int len);
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
I suspect it is a problem with a version of one of the dependencies� How do I fix it?