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

[BUG] FlagD Binary not working on Ubuntu 20.X or Debian bullsyeye #878

Closed
heckelmann opened this issue Aug 30, 2023 · 3 comments · Fixed by #1102
Closed

[BUG] FlagD Binary not working on Ubuntu 20.X or Debian bullsyeye #878

heckelmann opened this issue Aug 30, 2023 · 3 comments · Fixed by #1102
Assignees
Labels
bug Something isn't working Needs Triage This issue needs to be investigated by a maintainer

Comments

@heckelmann
Copy link

Observed behavior

FlagD is not working on "old" versions of Ubuntu and Debian anymore...
Please see the following issue: golang/go#57328

Expected Behavior

FlagD should work

Steps to reproduce

Run

# docker run -it ubuntu:20.04 bash
# apt update && apt upgrade
# wget https://github.com/open-feature/flagd/releases/download/flagd%2Fv0.6.3/flagd_0.6.3_Linux_x86_64.tar.gz
# tar -xzvf flagd_0.6.3_Linux_x86_64.tar.gz
# ./flagd_linux_x86_64 
./flagd_linux_x86_64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./flagd_linux_x86_64)
./flagd_linux_x86_64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./flagd_linux_x86_64)

root@856ec1aa3abc:/tmp# cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

@heckelmann heckelmann added bug Something isn't working Needs Triage This issue needs to be investigated by a maintainer labels Aug 30, 2023
@toddbaert toddbaert self-assigned this Aug 30, 2023
@toddbaert
Copy link
Member

toddbaert commented Aug 30, 2023

I'll look into this, thanks. Hoping we can just use a glibc agnostic build, not sure if that will bloat binary or have other consequences.

@tillknuesting
Copy link

tillknuesting commented Oct 12, 2023

Perhaps we need to ensure CGO_ENABLED=0.

@toddbaert
Copy link
Member

Perhaps we need to ensure CGO_ENABLED=0.

Ya my early research suggests this too. I haven't had time to prove it out though 😅

toddbaert added a commit that referenced this issue Dec 21, 2023
Removes the dependency on native c-libs for more portability.

This is already done in the docker builds, updates were only needed for
bins. Tested this locally by mounting it into an old Ubuntu and it
resolved the issue.

Fixes: #878

Signed-off-by: Todd Baert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Needs Triage This issue needs to be investigated by a maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants