[tor-bugs] #4692 [Tor Relay]: If only a working static OpenSSL is available, ./configure fails

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Dec 12 17:07:28 UTC 2011

#4692: If only a working static OpenSSL is available, ./configure fails
 Reporter:  sjmurdoch  |          Owner:                  
     Type:  defect     |         Status:  new             
 Priority:  normal     |      Milestone:                  
Component:  Tor Relay  |        Version:  Tor: unspecified
 Keywords:             |         Parent:                  
   Points:             |   Actualpoints:                  

Comment(by nickm):

 I think that the only correct way for us to support strange
 compilation/linking options longer-term is going to involve the ability to
 override our search behavior with environment options, the way that pkg-
 config autoconf stuff does.  IOW, we should check for variables like
 OPENSSL_LIBS and OPENSSL_LDFLAGS and OPENSSL_INCS, and let them override
 our automatically detected stuff.

 The attached patch can't actually work, I think: passing "-static" makes
 not only openssl but _all_ libraries get linked statically, which is not
 what --enable-static-openssl was supposed to do.

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

More information about the tor-bugs mailing list