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

Fix apt-get glibc error #984

Merged
merged 2 commits into from
Sep 29, 2023
Merged

Fix apt-get glibc error #984

merged 2 commits into from
Sep 29, 2023

Conversation

coffee-cup
Copy link
Contributor

@coffee-cup coffee-cup commented Sep 28, 2023

This PR fixes the "Missing Glibc 2.36" error when running anything with apt-get. The problem is that The LIBRARY_PATH header was set to ~/.nix-profile which includes packages built with glibc 2.36+. apt-get is built with glibc 2.35 since that is the default in Ubuntu. The problem is easily fixed by installing apt packages with sudo so that a different LIBRARY_PATH is used.

I've added an example that installs ffmpeg and a bunch of other stuff so we can catch this in the future.

Fixes #977

@coffee-cup coffee-cup added the release/patch Author patch release label Sep 28, 2023
@coffee-cup coffee-cup merged commit f14ba7c into main Sep 29, 2023
90 checks passed
@coffee-cup coffee-cup deleted the jr/fix-glibc-error branch September 29, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/patch Author patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Glibc 2.36 error
1 participant