[tor-bugs] #21061 [Core Tor/Tor]: Tor configure error - OpenSSL 1.1.0c with MinGW

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 16 14:13:07 UTC 2017


#21061: Tor configure error - OpenSSL 1.1.0c with MinGW
----------------------------+------------------------------------
 Reporter:  Diapolo         |          Owner:
     Type:  defect          |         Status:  new
 Priority:  Medium          |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor    |        Version:  Tor: 0.3.0.1-alpha
 Severity:  Normal          |     Resolution:
 Keywords:  OpenSSL, MinGW  |  Actual Points:
Parent ID:                  |         Points:
 Reviewer:                  |        Sponsor:
----------------------------+------------------------------------

Comment (by Diapolo):

 I found and ugly hack that is working:

 {{{
 cd /d/tor-mingw
 tar xvzf tor-0.3.0.1-alpha.tar.gz
 cp /d/libs/openssl-1.1.0c/dist/bin/libcrypto-1_1-x64.dll /d/tor-
 mingw/tor-0.3.0.1-alpha
 cd tor-0.3.0.1-alpha
 ./configure --prefix=$PWD/dist --with-libevent-dir=/d/tor-mingw/libevent-
 release-2.1.7-rc/dist --with-openssl-dir=/d/libs/openssl-1.1.0c --disable-
 asciidoc --enable-local-appdata
 make && make install
 rm /d/tor-mingw/tor-0.3.0.1-alpha/libcrypto-1_1-x64.dll
 }}}

 So I don't need libcrypto-1_1-x64.dll in the tor directory, because
 tor.exe is able to find it, because I have /d/libs/openssl-1.1.0c/dist/bin
 in my path, where the dll resides.

 But IMHO configure should be able to detect the dll inside
 /d/libs/openssl-1.1.0c, as that path is supplied via --with-openssl-dir,
 no?

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


More information about the tor-bugs mailing list