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

Missing dependencies in recent master containers #7383

Closed
patrick-stephens opened this issue May 15, 2023 · 1 comment · Fixed by #7385
Closed

Missing dependencies in recent master containers #7383

patrick-stephens opened this issue May 15, 2023 · 1 comment · Fixed by #7385
Assignees
Labels

Comments

@patrick-stephens
Copy link
Contributor

patrick-stephens commented May 15, 2023

Bug Report

Describe the bug

Recent container images are showing failures with dependencies when running schema or help output:

docker run --rm -it ghcr.io/fluent/fluent-bit/unstable:master --help
...
/fluent-bit/bin/fluent-bit: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory

The following versions are fine:

  • fluent/fluent-bit:2.1.2
  • fluent/fluent-bit:2.0.11
  • ghcr.io/fluent/fluent-bit/unstable:2.0

It therefore seems to be an issue with a recent merge to master as the 2.0 branch is ok.

To Reproduce

Run a container built from master, e.g.

$ docker run --pull=always --rm -t ghcr.io/fluent/fluent-bit/master:x86_64 --help
Unable to find image 'ghcr.io/fluent/fluent-bit/master:x86_64' locally
x86_64: Pulling from fluent/fluent-bit/master
...
Digest: sha256:fe576aa51c55acc70b3cd2b4de5ad2f202ff6e8e3ecab2a475da6ca470e42275
Status: Downloaded newer image for ghcr.io/fluent/fluent-bit/master:x86_64
/fluent-bit/bin/fluent-bit: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
  • Steps to reproduce the problem:

Expected behavior

No dependency failure.

Screenshots

Your Environment

  • Version used:
  • Configuration:
  • Environment name and version (e.g. Kubernetes? What version?):
  • Server type and version:
  • Operating System and version: Ubuntu 22.04
  • Filters and plugins:

Additional context

@patrick-stephens
Copy link
Contributor Author

I think this is triggered by #7309 - we updated the production container to use the latest LDAP (2.5.0) but not the builder container so it is depending on the old version of 2.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant