1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ffmpegがGLIBCを要求しているが見当たらない時の対処法

Last updated at Posted at 2024-02-07

discord.pyでVoiceClientを使っていたらffmpegがエラーを吐いた(おそらく今後も何度か出る)のでメモとして残しておく。

エラー:

ffmpeg: /nix/store/dg8mpqqykmw9c7l0bgzzb5znkymlbfjw-glibc-2.37-8/lib/libc.so.6: version 'GLIBC_2.38' not found (required by /nix/store/i0jkvikpn3rp3n80hw06fsw06n1v8w81-libX11-1.8.7/lib/libX11.so.6)
ffmpeg: /nix/store/dg8mpqqykmw9c7l0bgzzb5znkymlbfjw-glibc-2.37-8/lib/libc.so.6: version 'GLIBC_2.38' not found (required by /nix/store/i43ix7srp9r2c92s79qj4vkx0av3m1b9-libXcursor-1.2.1/lib/libXcursor.so.1)
ffmpeg: /nix/store/dg8mpqqykmw9c7l0bgzzb5znkymlbfjw-glibc-2.37-8/lib/libc.so.6: version 'GLIBC_2.38' not found (required by /nix/store/wly9486arl4krf1nm4yic8wc848z28qn-cpplibs/lib/libstdc++.so.6)
ffmpeg: /nix/store/dg8mpqqykmw9c7l0bgzzb5znkymlbfjw-glibc-2.37-8/lib/libc.so.6: version 'GLIBC_2.38' not found (required by /nix/store/hbksywp6j5zabm9j5yp8in1l7h524w7b-libxcb-1.16/lib/libxcb.so.1)
ffmpeg: /nix/store/dg8mpqqykmw9c7l0bgzzb5znkymlbfjw-glibc-2.37-8/lib/libc.so.6: version 'GLIBC_2.38' not found (required by /nix/store/kl4j6fjadg3lqaqv8r9p1lsjrwmi4cz8-glib-2.78.3/lib/libglib-2.0.so.0)

ffmpegが特定のバージョンのGLIBC(GNU Cライブラリ)を要求しているが、そのバージョンがインストールされていないという意味

解決策:

nix-channel --update
nix-env -u
nix-env -iA nixpkgs.ffmpeg

間違いがあれば指摘してください。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?