[tor-bugs] #13359 [Tor Browser]: Linux: update fails because bundled libstdc++.so.6 is not found

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 7 18:57:49 UTC 2014


#13359: Linux: update fails because bundled libstdc++.so.6 is not found
-------------------------+---------------------
 Reporter:  mcs          |          Owner:  gk
     Type:  defect       |         Status:  new
 Priority:  normal       |      Milestone:
Component:  Tor Browser  |        Version:
 Keywords:  ff31-esr     |  Actual Points:
Parent ID:               |         Points:
-------------------------+---------------------
 When an ESR31-based browser tries to restart after applying an update on
 Linux, it fails to restart because the bundled copy of libstdc++.so.6 is
 not found.  Here is the full error message:
 {{{
 XPCOMGlueLoad error for file
 /home/brade/Desktop/tbb-4.0a3-ru/Browser/libxul.so:
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not
 found (required
   by /home/brade/Desktop/tbb-4.0a3-ru/Browser/libxul.so)
 Couldn't load XPCOM.
 Tor Browser exited abnormally.  Exit code: 255
 }}}

 Although LD_LIBRARY_PATH is set inside start-tor-browser to avoid this
 problem, apparently something within the updater code clears it before
 restarting Firefox.  Relying on LD_LIBRARY_PATH also means that the
 following will fail too:
   cd Browser
   ./firefox

 Can we use -rpath at link time instead or will that cause other problems?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13359>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list