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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 15 11:28:29 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):

 Seems I was able to track this down with your help and a look in
 debug.log:

 {{{
 configure:8820: checking for openssl directory
 configure:8873: gcc -o conftest.exe -g -O2
 -I/d/libs/openssl-1.1.0c/include  -I${top_srcdir}/src/common
 -L/d/libs/openssl-1.1.0c  conftest.c  -lssl -lcrypto -lgdi32 >&5
 configure:8873: $? = 0
 configure:8895: gcc -c -g -O2 -I/d/libs/openssl-1.1.0c/include
 -I${top_srcdir}/src/common conftest.c >&5
 configure:8895: $? = 0
 configure:8988: result: /d/libs/openssl-1.1.0c
 configure:9029: checking whether we need extra options to link openssl
 configure:9067: gcc -o conftest.exe -g -O2
 -I/d/libs/openssl-1.1.0c/include  -I${top_srcdir}/src/common
 -L/d/libs/openssl-1.1.0c  conftest.c  -lssl -lcrypto -lgdi32 >&5
 configure:9067: $? = 0
 configure:9067: ./conftest.exe
 D:/tor-mingw/tor-0.3.0.1-alpha/conftest.exe: error while loading shared
 libraries: libcrypto-1_1-x64.dll: cannot open shared object file: No such
 file or directory
 configure:9067: $? = 127
 configure: program exited with status 127
 }}}

 So the problem is "error while loading shared libraries: libcrypto-
 1_1-x64.dll", which resides in /d/libs/openssl-1.1.0c/dist/bin. I have got
 /d/libs/openssl-1.1.0c/dist in my Windows PATH (not sure if the MinGW
 shell picks that up though).

 Any idea what would be the best way to fix that in my case?

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


More information about the tor-bugs mailing list