Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIPS linux下正确使用方式 #65

Closed
lazy-luo opened this issue Apr 17, 2022 · 0 comments
Closed

MIPS linux下正确使用方式 #65

lazy-luo opened this issue Apr 17, 2022 · 0 comments

Comments

@lazy-luo
Copy link
Owner

lazy-luo commented Apr 17, 2022

SG后续版本统一基于glibc进行编译发布

对于非glibc环境的linux兼容musl库(如alpine、openwrt等发行版)

操作步骤(glibc库直接运行,musl库往下看):

1、到 dynamic 子目录下载特定架构压缩包
2、解压及配置操作(略),下面假设openssl库为 libssl.so.1.1 及 libcrypto.so.1.1
3、ln -s /lib/ld-musl* /lib/ld.so.1
4、chmod +x proxy_server
5、nohup ./proxy_server -i1000 -o1000 -w8 >/dev/null &

如果运行报错“OpenSSL ssl-library 。。。---NOT-FOUND。。。“,确认 conf-proxy.xml 中ssl库配置无误,尝试:
LD_PRELOAD=libcrypto.so.1.1:libssl.so.1.1 nohup ./proxy_server -i1000 -o1000 -w8 >/dev/null &

@lazy-luo lazy-luo pinned this issue Apr 17, 2022
@lazy-luo lazy-luo closed this as completed May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant