Comments (5)
I built the binary successfully using openwrt-sdk-19.07.1-armvirt-64_gcc-7.5.0_musl.Linux-x86_64 as sysroot-build, but when I ran it on openwrt, it said:
-ash: ./naive: not found
and ldd said:
/lib/ld-linux-aarch64.so.1 (0xffff91533000)
libnss3.so => /usr/lib/libnss3.so (0xffff91041000)
libnssutil3.so => /usr/lib/libnssutil3.so (0xffff91006000)
libnspr4.so => /usr/lib/libnspr4.so (0xffff90fc0000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xffff90f9e000)
libc.so => /lib/ld-linux-aarch64.so.1 (0xffff91533000)
libplc4.so => /usr/lib/libplc4.so (0xffff90f8a000)
libplds4.so => /usr/lib/libplds4.so (0xffff90f77000)
I realized that the interpreter was not ld-musl-aarch64.so.1 but ld-linux-aarch64.so.1, how to link the binary to ld-musl-aarch64.so.1?
from naiveproxy.
A openwrt x86_64 build was add using these two changes: 349b4e4 f7ce953 if you can figure it out. I'll get around to add this build by weekend.
from naiveproxy.
A openwrt x86_64 build was add using these two changes: 349b4e4 f7ce953 if you can figure it out. I'll get around to add this build by weekend.
got it, thanks a lot. I can build it and ran it on arm64 openwrt now
from naiveproxy.
Did you make this change?
diff --git a/src/get-openwrt.sh b/src/get-openwrt.sh
index 0ce461c01..4378e7bc3 100755
--- a/src/get-openwrt.sh
+++ b/src/get-openwrt.sh
@@ -23,8 +23,8 @@ for flag in ALL_NONSHARED ALL_KMODS ALL SIGNED_PACKAGES; do
done
make oldconfig
make
-full_root=staging_dir/toolchain-${arch}_gcc-${gcc_ver}_musl
-cp -r staging_dir/target-${arch}_musl/usr $full_root
+full_root=staging_dir/toolchain-*_gcc-${gcc_ver}_musl
+cp -r staging_dir/target-*_musl/usr $full_root
I found the path for armvirt is toolchain-aarch64_generic_gcc-7.5.0_musl
, which was unexpected.
from naiveproxy.
The build for openwrt arm64 is uploaded to https://github.com/klzgrad/naiveproxy/releases/tag/v80.0.3987.87-2.
Report again if this build doesn't work.
from naiveproxy.
Related Issues (20)
- naive是不是被攻克了 HOT 29
- 这个是什么问题 ~/go/bin/xcaddy build --with github.com/caddyserver/forwardproxy@caddy2=github.com/klzgrad/forwardproxy@naive 运行这个命令的报错 HOT 5
- naiveproxy同时作为上游和中转服务器
- The writing issue with probe resistance requiring authentication in the JSON of forwardproxy v2.7.6-naive. (forwardproxy v2.7.6-naive的josn中probe resistance requires authentication写法问题) HOT 3
- CVE-2023-45288 (Caddy)
- Chromium 124 stable branch is out (cut)
- Connection immediately closed HOT 13
- v124.0.6367.54-1配置quic异常退出 HOT 21
- PostQuantumKyber breaks middleboxes after v124 HOT 34
- 请问现在iOS上没有支持naive的了吗 HOT 2
- MITM'd by Huorong Anti-Virus Personal Root Certificate HOT 13
- Release 无法下载到历史版本 HOT 2
- naiveproxy-v125.0.6422.35-1-openwrt-aarch64_generic.tar.xz unavailable
- 在域名块中添加 log 指令后 forward_proxy 无法正常工作 HOT 1
- [Non-issue] How come the first commit is only 4 days old? HOT 1
- The persistent compilation warning problem has not been solved. HOT 1
- how to deploy naiveproxy server side without caddy? HOT 3
- 请教如何配置access log,以记录所有代理的地址、ip等信息,类似nginx的access log HOT 1
- Feature request: proxy chain HOT 9
- to review caddy-tailscale HTTP3? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from naiveproxy.