You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love to use this under alpine linux which does not have glibc. Unfortunately, the resolver mode does not work in the non-cgo version. Linking with musl libc should provide the needed functionality but currently a musl built version will segfault.
The text was updated successfully, but these errors were encountered:
I've tried this myself and it works if built on Alpine Linux (see APKBUILD linked in README), so I assume you're talking about building using musl from another distro. Which does indeed appear to crash. But you can work around this by passing -fno-PIC or -static to the linker. Indeed Alpine's Go packaging patches Go to always pass -fno-PIC.
Currently I have this for dynamically linked builds:
Replace -fno-PIC with -static for static builds. Confusingly Alpine's ldd says that the dynamically linked version is not a dynamically linked executable even though it definitely is.
Might be able to provide these binaries in the future.
I would love to use this under alpine linux which does not have glibc. Unfortunately, the resolver mode does not work in the non-cgo version. Linking with musl libc should provide the needed functionality but currently a musl built version will segfault.
The text was updated successfully, but these errors were encountered: