PoC-Consortium / scavenger

A fast Burstcoin miner written in Rust
GNU General Public License v3.0
107 stars 64 forks source link

Install on embedded Linux ARM v7l #78

Closed Beddhist closed 3 years ago

Beddhist commented 4 years ago

Any chance to obtain a statically linked version?

I have two NAS boxes and accessing over the net takes 2 minutes. It runs Busybox and the libs are all different from what you find on Debian, etc. When I run scavenger it gives a 'segmentation fault'.

[/share/CACHEDEV1_DATA/scavenger] # ldd scavenger ./scavenger: /lib/libc.so.6: versionGLIBC_2.15' not found (required by ./scavenger) ./scavenger: /lib/libc.so.6: version GLIBC_2.16' not found (required by ./scavenger) ./scavenger: /lib/libc.so.6: versionGLIBC_2.18' not found (required by ./scavenger) libdl.so.2 => /lib/libdl.so.2 (0x2b0e8000) librt.so.1 => /lib/librt.so.1 (0x2b109000) libpthread.so.0 => /lib/libpthread.so.0 (0x2b12a000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2b15d000) libc.so.6 => /lib/libc.so.6 (0x2b177000) ld-linux-armhf.so.3 => /lib/ld-linux-armhf.so.3 (0x2b27b000) libm.so.6 => /lib/libm.so.6 (0x2b2ac000) /lib/ld-linux-armhf.so.3 (0x2b0b7000) `

I've tried copying libc.so.6 from the SBC that it does run on and setting the lib path, but that doesn't help, either.

I also tried installing Rust, but the installer fails.

JohnnyFFM commented 3 years ago

Indeed, it is very difficult to compile for some exotic usecases. I tried to compile for a linux based digital video recorder and failed as well. Unfortunately, we don't have a lot of cross-compile expertisen and can't assist.