[tor-bugs] #16651 [Tor]: Tor fails to build on OpenBSD 5.8 due to libevent config options

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 9 18:17:53 UTC 2015


#16651: Tor fails to build on OpenBSD 5.8 due to libevent config options
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:
     Type:  defect                               |         Status:
 Priority:  Medium                               |  needs_review
Component:  Tor                                  |      Milestone:  Tor:
 Severity:  Normal                               |  0.2.8.x-final
 Keywords:  bsd, 026-backport, libevent,         |        Version:
  PostFreeze027, pre028-patch                    |     Resolution:
Parent ID:                                       |  Actual Points:
  Sponsor:                                       |         Points:
-------------------------------------------------+-------------------------

Comment (by nickm):

 Thanks, rubiate!  I have a few questions, to make sure I understand.

   * Is it really true that on OpenBSD with libevent2, `-levent` is
 necessary?  Or would `-levent_extra -levent_core` be sufficient?  (I hope
 that the latter is true, or else the libevent installation is really
 mangled!)
   * I'm a little worried by the `LIBS="-levent"` line: on some platforms
 (like Linux or Windows), Libevent simply won't link with only `-levent`,
 since you also need `-lrt` or `-lws2_32` or something.  I realize this is
 only a theoretical issue, since those platforms don't seem to have the
 same problem as OpenBSD does here.  But do you think `LIBS="$saved_LIBS
 -levent"` could work instead for this test?

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


More information about the tor-bugs mailing list