-
CONTEXT : linuxbrew WHAT IS WORKING : brew install imagemagick PROBLEM : ffmpeg -i = /lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/linuxbrew/.linuxbrew/lib/libsrt.so.1.4) WHAT I TRIED : brew cleanup + brew doctor + brew reinstall ffmpeg and still get this error (all othe brew install are all ok execpt ffmpeg) QUESTION : How can this be fixed ? MY LINUX : AlmaLinux 8.4 Kernel: Linux 4.18.0-305.19.1.el8_4.x86_64 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What do |
Beta Was this translation helpful? Give feedback.
-
The error is specifically complaining about
Linuxbrew's formula for Maybe check Then, maybe try reinstalling You can also check the linkage via # objdump -p /home/linuxbrew/.linuxbrew/lib/libsrt.so.1.4 | grep GLIBCXX
0x0297f870 0x00 20 GLIBCXX_3.4.20
0x0297f861 0x00 18 GLIBCXX_3.4.11
0x02297f89 0x00 13 GLIBCXX_3.4.9
0x0297f865 0x00 07 GLIBCXX_3.4.15
0x0297f871 0x00 05 GLIBCXX_3.4.21
0x08922974 0x00 03 GLIBCXX_3.4 |
Beta Was this translation helpful? Give feedback.
GLIBCXX_3.4.29
usually means GCC-11 (e.g. Homebrew/Linuxbrew'sgcc
formula) was used/linked during build.The error is specifically complaining about
srt
formula:Linuxbrew's formula for
srt
should use Ubuntu 16.04 container GCC-5 to build bottle, so it shouldn't reference GCC-11 libs.Maybe check
brew info srt
to see how it was installed (was it poured from bottle, built from source, etc.)?Then, maybe try reinstalling
srt
.You can also check the linkage via
objdump -p
.For example, I just tried poured bottle from Homebrew/core and see: