[tor-bugs] #13062 [Tor bundles/installation]: Specifying tor's libevent and openssl directories adds RPATH to resulting binary

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Sep 6 03:26:40 UTC 2014


#13062: Specifying tor's libevent and openssl directories adds RPATH to resulting
binary
-------------------------------------+-------------------------------------
     Reporter:  mikeperry            |      Owner:  erinn
         Type:  defect               |     Status:  closed
     Priority:  normal               |  Milestone:
    Component:  Tor                  |    Version:
  bundles/installation               |   Keywords:  tbb-security, gitian,
   Resolution:  duplicate            |  TorBrowserTeam201409
Actual Points:                       |  Parent ID:
       Points:                       |
-------------------------------------+-------------------------------------

Comment (by cypherpunks):

 > cause gcc to search these directories during build without emitting an
 RPATH for them.

 It was run-time issue of configure script not compile-time issue.

 Configure script tries to build and play simple code to test if need any
 extra options. That options used if no system-wide library installed while
 user provided custom library by direct paths, those RPATH allowing to run
 resulting Tor at least.

 Btw, while it's not Tor Browser builder problems anymore for now, it could
 be still some Tor bug in configure script if user tried to use very
 special custom library while standard system-wide library installed, then
 no RPATH emited and everything depends *PATHs VARS provided during run-
 time, those confusing about result. But RPATH is not good idea at all, so
 Tor's configure script need some fix for clear and anti-paranoid in
 general.

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


More information about the tor-bugs mailing list