rr icon indicating copy to clipboard operation
rr copied to clipboard

Cannot start rr on an updated Ubuntu 14.04 LTS: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by rr)

Open timdream opened this issue 9 years ago • 7 comments

Console output:

$ uname -a
Linux timdream-Ubuntu 3.13.0-86-generic #131-Ubuntu SMP Thu May 12 23:33:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ rr
rr: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by rr)

timdream avatar May 29 '16 08:05 timdream

... and,

$ ls -al1 /usr/lib/x86_64-linux-gnu/libstdc++.so.6*
lrwxrwxrwx 1 root root     19 May  7 19:22 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 -> libstdc++.so.6.0.19
-rw-r--r-- 1 root root 979056 May  7 20:11 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19

timdream avatar May 29 '16 08:05 timdream

Fix the wrong version mentioned on the title ... >_<

timdream avatar May 30 '16 02:05 timdream

So people in the office said I should compile my own rr from source, rather than downloading the release deb package.

We probably need a warning on the website on that, if the built package wasn't meant for 14.04.

timdream avatar May 30 '16 03:05 timdream

The package should work on 14.04. Maybe I messed something up...

rocallahan avatar May 30 '16 12:05 rocallahan

I had the same issue when installing 4.2.0 package on Ubuntu 14.04 LTS. 4.0.3 package doesn't have this issue.

aethanyc avatar Jun 02 '16 07:06 aethanyc

I also see this, does rr actually need that ABI version or is this just because of the system that compiled the package? In the later case /usr/local/lib64/libstdc++.so.6 needs to be integrated in the package (because that will include it, while /usr/lib64/libstdc++.so.6 doesn't).

... maybe LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64 rr already does the trick and there's no need to package anything more (that was the case for CentOS7)?

GitMensch avatar Jul 22 '21 09:07 GitMensch

That is still the case for me, also when build from (current) source.

GitMensch avatar Dec 03 '21 15:12 GitMensch