Closed qiaolb closed 1 year ago
Then you will have to use patchelf to change the interpreter in the rustc executable to the right path.
@bjorn3 Thanks.
I check:
# ls -l /opt/lib/ld-linux.so.3
lrwxrwxrwx 1 admin root 10 Jan 3 10:13 /opt/lib/ld-linux.so.3 -> ld-2.23.so
# ls -l /tmp/opt/bin/../lib/librustc_driver-56e6e64e3bf57c2c.so
-rw-r--r-- 1 admin root 169961416 Jan 5 08:37 /tmp/opt/bin/../lib/librustc_driver-56e6e64e3bf57c2c.so
These libraries exist. How do I check?
Is Merlin glibc or musl based? If it is musl based you will have to use rust-1.57.0-armv7-unknown-linux-musleabihf.tar.gz.
Merlin is uClibc. Maybe I just use source code.
Probably. According to https://doc.rust-lang.org/nightly/rustc/platform-support.html armv7-unknown-linux-uclibceabihf is a tier 3 target. It says that it is unknown if building rustc for it is supported.
Closing this to clean up the issue tracker. This complies with the target policy. If you need further help you can check the forums or other spaces for rust discussions.
I install rust compiler on my ASUS Router with Merlin. And the information:
Error:
Because root path can not write, ld-linux-armhf.so.3 is installed in
/opt/lib
.