[tor-bugs] #33624 [Core Tor/Tor]: Static building tor with openssl does not work

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 16 13:20:31 UTC 2020


#33624: Static building tor with openssl does not work
----------------------------------+------------------------------------
 Reporter:  dgoulet               |          Owner:  (none)
     Type:  defect                |         Status:  new
 Priority:  Medium                |      Milestone:  Tor: 0.4.4.x-final
Component:  Core Tor/Tor          |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:  build static openssl  |  Actual Points:
Parent ID:                        |         Points:
 Reviewer:                        |        Sponsor:
----------------------------------+------------------------------------

Comment (by nickm):

 {{{
 +   if test "x$tor_cv_library_openssl_dir" = "(system)"; then
 }}}

 This line (and its libevent equivalent) either needs one more `x` on the
 right, or one less `x` on the left.

 {{{
 +     TOR_LIBEVENT_LIBS="$TOR_LIBDIR_libevent/.libs/libevent.a
 $STATIC_LIBEVENT_FLAGS"
 }}}

 I think this change only makes sense if libevent hasn't been installed?
 Once a libtool library is installed, the `.a` file is put into place.

 I wouldn't object to a change where we look for a `.libs` additionally,
 but I don't think it should be instead.

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


More information about the tor-bugs mailing list