Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #4692

Closed (moved)
Open
Opened Dec 10, 2011 by Steven Murdoch@sjm217

If only a working static OpenSSL is available, ./configure fails

If OpenSSL is available, but only the statically linked version works, ./configure will fail. This is because the autoconf test program will be by default built dynamically, at least on Windows, even if --enable-static-openssl is set. The attached patch (appears to) resolve this problem on Windows.

However, the patch doesn't work on MacOS X because passing -static to the compiler causes it to fail with the error "ld: library not found for -lcrt0.o". I presume MacOS X can't produce fully static binaries for whatever reason.

What I'd really like to do is pass "$TOR_LIBDIR_openssl/libssl.a $TOR_LIBDIR_openssl/libcrypto.a" into the link path of the test program built by TOR_SEARCH_LIBRARY(openssl, ...). However, $TOR_LIBDIR_ is being set by TOR_SEARCH_LIBRARY so there is a chicken and egg problem here which I'm not sure how to resolve.

These tests were done on Tor version e4cebb76c5577b1a39b752cc694147e929662c4a.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: unspecified
Milestone
Tor: unspecified
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#4692