Okay, I wrenched on this some and almost got somewhere.
The OpenWRT versions did not have one compiled for ARM (this Linksys is probably too new). So I downloaded the Raspberry Pi version and unpacked it on my Linux desktop. OpenWRT doesn't have /lib/ld-linux.so.3 but has /lib/ld-musl-armhf.so.1 instead. So I used patchelf to change the interpreter.
Code:
patchelf --set-interpreter /lib/ld-musl-armhf.so.1 nrserver
patchelf --set-interpreter /lib/ld-musl-armhf.so.1 nrsetup
Then I had to manually install some dependencies:
Code:
opkg install uclibcxx libpthread libuuid libopenssl libstdcpp
The executable will almost run, and I don't think I can fix the rest of these errors without downgrading libthread and cross compiling an old version of libssl (I really don't want to do either of those for obvious reasons).
Code:
root@OpenWrt:~/nrserver_armhf# nrserver -v
Error loading shared library libcrypt.so.1: No such file or directory (needed by /usr/bin/nrserver)
Error relocating /usr/bin/nrserver: __pthread_register_cancel: symbol not found
Error relocating /usr/bin/nrserver: __pthread_unregister_cancel: symbol not found
I could probably get LXC running on OpenWRT, but that would mean compiling a new kernel, and then install Raspberry Pi (taking even more storage) and maybe it would work.
I really like NeoRouterFree and wish it was Open Source so we could contribute back to it for things like this.