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

DaVinci Resolve unstable (v18.5.1) - `GLIBC_2.2.5' not found #265476

Open
Cameo007 opened this issue Nov 4, 2023 · 7 comments
Open

DaVinci Resolve unstable (v18.5.1) - `GLIBC_2.2.5' not found #265476

Cameo007 opened this issue Nov 4, 2023 · 7 comments
Labels
0.kind: bug 0.kind: regression Something that worked before working no longer

Comments

@Cameo007
Copy link

Cameo007 commented Nov 4, 2023

Describe the bug

Today I updated the unstable channel on my PC because I was running DaVinci Resolve v18.1.4 and v18.5.1 is already available which I need to use my projects as they were created on v18.5.1 (Windows).
But when I run davinci-resolve I see this error message.

/nix/store/5m27rxn5mnrr55wwqijg4cfcrcvg7z13-davinci-resolve-18.5.1/bin/resolve: /nix/store/5m27rxn5mnrr55wwqijg4cfcrcvg7z13-davinci-resolve-18.5.1/libs/libcrypto.so.1.1: version `GLIBC_2.2.5' not found (required by /nix/store/5m27rxn5mnrr55wwqijg4cfcrcvg7z13-davinci-resolve-18.5.1/libs/libaprutil-1.so.0)

Steps To Reproduce

Steps to reproduce the behavior:

  1. Get DaVinci Resolve from the unstable channel
  2. Run it using davinci-resolve

Expected behavior

DaVinci Resolve should open.

Screenshots

Unnecessary

Additional context

Nothing

Notify maintainers

@davidak

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.45, NixOS, 23.05 (Stoat), 23.05.20230819.4cdad15`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.5`
 - channels(pasca): `""`
 - channels(root): `"home-manager-23.05.tar.gz, nixos-23.05, nixos-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@FliegendeWurst
Copy link
Member

Notify the other maintainer: @jshcmpbll

@jshcmpbll
Copy link
Member

jshcmpbll commented Nov 5, 2023

Bisecting: 0 revisions left to test after this (roughly 0 steps)
[a9600ce894573076f4fe9fda4f820c226f50dcd7] build-fhsenv-bubblewrap: remove /usr/lib and /usr/lib32 from LD_LIBRARY_PATH
running 'bash' '-c' 'NIXPKGS_ALLOW_UNFREE=1 nix build --impure .#davinci-resolve && ./result/bin/davinci-resolve'
/nix/store/ds2ly4cg3splfj57hpcb3ra3zv0zvwlj-davinci-resolve-18.5.1/bin/resolve: /nix/store/ds2ly4cg3splfj57hpcb3ra3zv0zvwlj-davinci-resolve-18.5.1/libs/libcrypto.so.1.1: version `GLIBC_2.2.5' not found (required by /nix/store/ds2ly4cg3splfj57hpcb3ra3zv0zvwlj-davinci-resolve-18.5.1/libs/libaprutil-1.so.0)
a9600ce894573076f4fe9fda4f820c226f50dcd7 is the first bad commit
commit a9600ce894573076f4fe9fda4f820c226f50dcd7
Author: Luna Nova <git@lunnova.dev>
Date:   Tue Oct 24 07:13:33 2023 -0700

    build-fhsenv-bubblewrap: remove /usr/lib and /usr/lib32 from LD_LIBRARY_PATH

    See https://github.com/NixOS/nixpkgs/issues/262775

 pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bisect found first bad commit

#263201

If you are looking to run Davinci right now this should do:

NIXPKGS_ALLOW_UNFREE=1 nix build --impure github:nixos/nixpkgs/14f2ba715dc95b85716dabbf192327d7a031522f#davinci-resolve

Ill update here on my progress on the issue though and link relevant PRs

@Cameo007
Copy link
Author

Cameo007 commented Nov 5, 2023

No problem. I'm running Resolve via Flatpak so I don't really need this to be fixed.

@Redcroft
Copy link
Contributor

Redcroft commented Nov 9, 2023

I'm also having this issue, but this command seems to install the free edition, not studio?

NIXPKGS_ALLOW_UNFREE=1 nix build --impure github:nixos/nixpkgs/14f2ba715dc95b85716dabbf192327d7a031522f#davinci-resolve

@Cameo007
Copy link
Author

Cameo007 commented Nov 9, 2023

Yes. It is the free version.

@amarshall
Copy link
Member

I’ve included a quick fix in #255577

@spacebanana420
Copy link

As a workaround, you can install the package steam-run and then run Resolve with steam-run davinci-resolve

pbsds pushed a commit that referenced this issue Dec 2, 2023
See #265476

This is a hack that effectively undoes
#263201 for just this derivation.
Really we should probably be doing a ton of autoPatchelf or something to
patch in our libs. Alas, this is “good enough” to un-break for now, I
think.
github-actions bot pushed a commit that referenced this issue Dec 11, 2023
See #265476

This is a hack that effectively undoes
#263201 for just this derivation.
Really we should probably be doing a ton of autoPatchelf or something to
patch in our libs. Alas, this is “good enough” to un-break for now, I
think.

(cherry picked from commit f1361c5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 0.kind: regression Something that worked before working no longer
Projects
None yet
Development

No branches or pull requests

6 participants