#6623: --enable-static-tor cannot succeed
-------------------------------------------------+-------------------------
 Reporter:  tmpname0901                          |          Owner:  (none)
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.3.20-rc
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-relay, autotools, build, link,   |  Actual Points:
  static, 032-unreached-backport,                |
  035-deferred-20190115, 041-proposed, 033       |
  -unreached-backport                            |
Parent ID:                                       |         Points:
 Reviewer:  nickm                                |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by werd):

 I want to build tor, not download it from somewhere else. My computer is
 on wifi so that prevents me from being an acceptable relay or bridge, best
 I can tell.  But after I copy over the binaries I made, to a computer with
 ethernet to the router, and run tor I get this:

 {{{
 dyld: Library not loaded: @rpath/libclang_rt.asan_osx_dynamic.dylib
   Referenced from: /path/to/tor/bin/tor
   Reason: image not found
 Abort trap: 6
 }}}

 So it seems tor is relying on a library burried deep in xcode.

 I've already built zlib, libevent, and libressl/openssl as static. My tor
 configure line informs tor of this. But as soon as I add {{{--enable-
 static-tor}}} and ./configure, the checking stops (as noted above in
 comment 21) here:

 {{{
 checking whether free(NULL) works... no
 configure: error: Your libc implementation doesn't allow free(NULL), as
 required by C99.
 }}}

 Based on my reading of this ticket and others, it seems there is something
 out of order, but my attempts to mimic what others said worked for them,
 has not worked for me.

 I changed the order as noted in the patch here: #27802, (lines 169 & 222),
 but the same error happened.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6623#comment:32>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to