Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make fails in Ubuntu 18 #8

Closed
norrinr opened this issue May 27, 2021 · 2 comments
Closed

Make fails in Ubuntu 18 #8

norrinr opened this issue May 27, 2021 · 2 comments

Comments

@norrinr
Copy link

norrinr commented May 27, 2021

Ubuntu 18.. At first had to get flen (got from github) and websockets (got from apt) for golang.. Then this:

$ make
go build
# github.com/osm/flen
../go/src/github.com/osm/flen/flen.go:56:10: undefined: strings.ReplaceAll
../go/src/github.com/osm/flen/flen.go:69:45: undefined: strings.ReplaceAll
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2
@norrinr
Copy link
Author

norrinr commented May 27, 2021

This works in Ubuntu 20..

$ make
go build
go: downloading github.com/osm/flen v1.0.0
go: downloading github.com/gorilla/websocket v1.4.2
go: extracting github.com/gorilla/websocket v1.4.2
go: extracting github.com/osm/flen v1.0.0
go: finding github.com/gorilla/websocket v1.4.2
go: finding github.com/osm/flen v1.0.0
$ file icka
icka: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, Go BuildID=-Hh49HTXX8Oo90BnAQBr/BbyzHzaTsPgBMEGbRnI7/VgDbsbcfsHBvTnqCx-Qs/rnF2vxRGdtY35ygJ_ZnF, not stripped

@norrinr norrinr changed the title Make fails Make fails in Ubuntu 18 May 27, 2021
@opiqbox
Copy link

opiqbox commented Apr 20, 2022

i think it works in golang 1.14 or above

@osm osm closed this as completed Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants