Skip to content

/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/linuxbrew/.linuxbrew/lib/libsrt.so.1.4) #2320

Answered by cho-m
jintor asked this question in Linux
Discussion options

You must be logged in to vote

GLIBCXX_3.4.29 usually means GCC-11 (e.g. Homebrew/Linuxbrew's gcc formula) was used/linked during build.

The error is specifically complaining about srt formula:

required by /home/linuxbrew/.linuxbrew/lib/libsrt.so.1.4

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:

# objdump -p /home/linuxbrew/.linuxbrew/lib/libsrt.so.1.4 | grep GLIBCXX
    0x0297f870 0x00 2…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jintor
Comment options

Comment options

You must be logged in to vote
1 reply
@jintor
Comment options

Answer selected by iMichka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Linux
Labels
None yet
3 participants