Router RT-AC68U
Something wrong with go binary.
Solved
Code:
# opkg install go
Installing go (1.20.7-1) to root...
Downloading https://entware.diversion.ch/armv7sf-k2.6/go_1.20.7-1_armv7-2.6.ipk
Configuring go.
Please add /opt/bin/go/bin to your PATH
Please set GOROOT=/opt/bin/go environment variable to use GO compiler
# export PATH="/opt/bin/go/bin:$PATH"
# export GOROOT=/opt/bin/go
# go version
Illegal instruction
Code:
# file $(which go)
/opt/bin/go/bin/go: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, Go BuildID=AUWembSb2nJUFsREPF1D/c0p_xAxhUpqsaXC1mVTp/8EE4in-mhCbzC3V67q12/-JOEaguhinwa2r1-r9Vm, with debug_info, not stripped
Something wrong with go binary.
Solved
Code:
# opkg remove go
# opkg install go_nohf
Last edited: