We have reports from Linux Mint 17 and Ubuntu 14 users that Tor Browser is not starting anymore, probably due to #25485 (moved). The error they get is:
./firefox.real: relocation error: ./firefox.real: symbol _ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
1 open file /Browser/firefox2 comment line 10,12( if and fi) to use custom libstdc++#if [ $? -ne 0 ]; thenLD_LIBRARY_PATH="$LD_LIBRARY_PATH:$basedir/TorBrowser/Tor/libstdc++/"#fi
So, it seems our abicheck hack is not working as expected? I wonder what is going on here, though, as I have no issues updating from 7.5.6 to 8.0 on an Ubuntu 14.04.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Trac: Description: We have reports from Linux Mint 17 and Ubuntu 14 users that Tor Browser is not starting anymore, probably due to #25485 (moved). The error they get is:
./firefox.real: relocation error: ./firefox.real: symbol _ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
There is a workaround posted ()
1 open file /Browser/firefox2 comment line 10,12( if and fi) to use custom libstdc++#if [ $? -ne 0 ]; thenLD_LIBRARY_PATH="$LD_LIBRARY_PATH:$basedir/TorBrowser/Tor/libstdc++/"#fi
So, it seems our abicheck hack is not working as expected? I wonder what is going on here, though, as I have no issues updating from 7.5.6 to 8.0 on an Ubuntu 14.04.
to
We have reports from Linux Mint 17 and Ubuntu 14 users that Tor Browser is not starting anymore, probably due to #25485 (moved). The error they get is:
./firefox.real: relocation error: ./firefox.real: symbol _ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
1 open file /Browser/firefox2 comment line 10,12( if and fi) to use custom libstdc++#if [ $? -ne 0 ]; thenLD_LIBRARY_PATH="$LD_LIBRARY_PATH:$basedir/TorBrowser/Tor/libstdc++/"#fi
So, it seems our abicheck hack is not working as expected? I wonder what is going on here, though, as I have no issues updating from 7.5.6 to 8.0 on an Ubuntu 14.04.
Yes, on Ubuntu 14.04.5 LTS same problem.The problem is in reloc functions. To check use this:$ ldd -r firefox.reallinux-vdso.so.1 => (0x00007ffe30ffb000)libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb7454bb000)libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb7452b7000)librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb7450af000)libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb744d9b000)libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb744a95000)libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb74487e000)libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb7444b4000)/lib64/ld-linux-x86-64.so.2 (0x0000560938ac7000)symbol _ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (./firefox.real)symbol _ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (./firefox.real)symbol _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (./firefox.real)symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (./firefox.real)symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (./firefox.real)symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (./firefox.real)symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (./firefox.real)symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (./firefox.real)symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4copyEPcmm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (./firefox.real)
I wonder why I can't seem to reproduce this. I tested this on Mint 17.3, updating from 7.5.6 as well as doing a clean install. Even running abicheck manually seems to confirm the intended behaviour:
./Browser/abicheck: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ./Browser/abicheck)./Browser/abicheck: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./Browser/abicheck)
which means that for Mint 17.3, we use our bundled libstdc++ since abicheck returns a non-zero value. (Same is the case for Ubuntu 14.04).
$ ldd -r Browser/firefox.real Browser/firefox.real: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by Browser/firefox.real) linux-vdso.so.1 => (0x00007ffe347d6000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc9717ae000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc9715aa000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc9713a2000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc97109e000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc970d98000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc970b82000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc9707bd000) /lib64/ld-linux-x86-64.so.2 (0x00007fc9719cc000)symbol _ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (Browser/firefox.real)symbol _ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (Browser/firefox.real)symbol _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (Browser/firefox.real)symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (Browser/firefox.real)symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (Browser/firefox.real)symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (Browser/firefox.real)symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (Browser/firefox.real)symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (Browser/firefox.real)symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4copyEPcmm, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference (Browser/firefox.real)
But that's expected as well for the same reason and goes away when you point it to the right version of libstdc++.
So yes, judging by the error and the fix, it would seem that abicheck is not working as intended. I have asked for the output of that on the blog and we will track the progress here.
Hi there!
I have Linux Mint 17.2 system and recently tor browser stops working. I got same error as mentioned at top of this ticket and google brought me here.
Thanks to the workaround (commenting if and fi lines) it's working now. I hope you will do something with that.
I had this same issue with tor-browser-linux64-8.0.4_en-US.tar.xz on Ubuntu 14.04 Linux 3.13.0-157-generic. The workaround worked for me. I commented lines 41 and 43 out (if and fi) to get tor browser to run.
Linux Mint and Ubuntu 14.04 are past EOL and don't get security updates anymore. Closing as WONTFIX. Please reopen if that problem happens on a still supported Linux distro.
Trac: Resolution: N/Ato wontfix Status: new to closed