安装脚本
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh
报错提示
mtproto/mtproto-proxy.c:42:26: fatal error: openssl/rand.h: No such file or directory
#include <openssl/rand.h>
^
compilation terminated.
Makefile:86: recipe for target 'objs/mtproto/mtproto-proxy.o' failed
make: *** [objs/mtproto/mtproto-proxy.o] Error 1
[错误] MTProxy 编译失败!
另外,如果在上面几行看到 xxxxx option "-std=gnu11" 字样,说明是系统版本过低,请尝试更换系统重试!
rm -rf objs dep objs/bin || true
解决方法
apt --fix-broken install
apt-get -y install libssl-dev
来源
https://doubibackup.com/ljt9q04y.html
https://linux.cn/article-4147-1.html
发表评论