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)
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)
... 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
Fix the wrong version mentioned on the title ... >_<
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.
The package should work on 14.04. Maybe I messed something up...
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.
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)?
That is still the case for me, also when build from (current) source.