[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6623 [Core Tor/Tor]: --enable-static-tor cannot succeed
#6623: --enable-static-tor cannot succeed
-------------------------------------------------+-------------------------
Reporter: tmpname0901 | Owner: (none)
Type: defect | Status:
| needs_review
Priority: Medium | Milestone: Tor:
| 0.3.5.x-final
Component: Core Tor/Tor | Version: Tor:
| 0.2.3.20-rc
Severity: Normal | Resolution:
Keywords: tor-relay autotools build link | Actual Points:
static 029-backport 032-backport 033-backport |
034-backport |
Parent ID: | Points:
Reviewer: nickm | Sponsor:
-------------------------------------------------+-------------------------
Comment (by nickm):
Replying to [comment:22 sysrqb]:
> Replying to [comment:21 nickm]:
> > I'd actually like to deprecate the TOR_SEARCH_LIBRARY nonsense if
possible, and not add its use for zlib. (I don't understand why this
patch starts using TOR_SEARCH_LIBRARY for zlib, but I assume it's
necessary? Can we use pkg-config instead?)
>
> Hrm, it shouldn't. I simply moved the zlib check from being after the
openssl checks to being before it (because openssl depends on zlib).
Oh! I didn't notice that this was moved code. Okay, no need to change
stuff in this patch.
> >
> > When I try to use this patch with `--enable-static-tor`, it fails
during configuration with
> > {{{
> > checking whether free(NULL) works... no
> > configure: error: Your libc implementation doesn't allow free(NULL),
as required by C99.
> > }}}
> >
> > Am I doing something wrong?
> >
>
> Nope, that is possible. I ran into that, too. Do you have glibc-static
installed? `-lc` is probably resulting in an error due to the lack of a
static library. I should've added a more helpful error message for this
case. I can do that.
A better error message would be helpful, yes!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6623#comment:23>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs