[tor-bugs] #12720 [Tor]: tor-0.2.4.22 configure static fails unless -ldl -lz after -lcrypto

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 28 01:18:46 UTC 2014


#12720: tor-0.2.4.22 configure static fails unless -ldl -lz after -lcrypto
-------------------------+------------------------------------
 Reporter:  cypherpunks  |          Owner:
     Type:  defect       |         Status:  new
 Priority:  normal       |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor          |        Version:  Tor: 0.2.4.22
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+------------------------------------
 ./configure --enable-static-tor --with-libevent-
 dir=/home/cypherpunks/libevent-2.0.21-stable --enable-static-openssl
 --with-openssl-dir=/home/cypherpunks/openssl-1.0.1h --with-zlib-
 dir=/home/cypherpunks/zlib-1.2.8

 fails at checking on openssl directory

 If I edit configure and I replace the line 7005:

 LIBS="$tor_saved_LIBS -lssl -lcrypto $TOR_LIB_GDI"

 with:

 LIBS="-lssl -lcrypto $TOR_LIB_GDI $tor_saved_LIBS -lz"

 then configure is complete and compilation is ok.

 Please fix this for the next release.

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


More information about the tor-bugs mailing list