What's new

Solved Problem with GO

Fallujah

New Around Here
Router RT-AC68U
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:
Router RT-AC68U
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
Yes, some model routers require go_nohf. I notice this is particularly the case with a handleful of the older AC models.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top