Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #21061

Closed (moved)
(moved)
Open
Created Dec 22, 2016 by Trac@tracbot

Tor configure error - OpenSSL 1.1.0c with MinGW

Syswtem configuration: OS Win8.1 x64 MSYS2 + MinGW version 6.2.0 (Rev2, Built by MSYS2 project) libevent 2.1.7 rc OpenSSL 1.1.0c Tor 0.3.0.1 alpha

This is how I try to build Tor (which is working with OpenSSL 1.0.2j just fine): cd /d/tor-mingw tar xvzf tor-0.3.0.1-alpha.tar.gz 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.0.2j --disable-asciidoc --enable-local-appdata

I then get the following OpenSSL related error from configure: checking for openssl directory... /d/libs/openssl-1.1.0c checking whether we need extra options to link openssl... configure: error: Found linkable openssl in /d/libs/openssl-1.1.0c, but it does not seem to run, even with -R. Maybe specify another using --with-openssl-dir}

Trying with CPPFLAGS="-I/d/libs/openssl-1.1.0c/dist/include" LDFLAGS="-L/d/libs/openssl-1.1.0c/dist/lib" in configure also leads to the same error :-/.

This is how I build OpenSSL: cd /d/libs tar xvzf openssl-1.1.0c.tar.gz cd openssl-1.1.0c ./Configure --openssldir=$PWD/dist --prefix=$PWD/dist shared mingw64 no-ssl3 enable-ec_nistp_64_gcc_128 make depend && make && make install

This is how I build libevent: cd /d/tor-mingw tar xvzf libevent-release-2.1.7-rc.tar.gz cd libevent-release-2.1.7-rc ./autogen.sh ./configure --prefix=$PWD/dist --enable-static --disable-shared CPPFLAGS="-I/d/libs/openssl-1.1.0c/dist/include" LDFLAGS="-L/d/libs/openssl-1.1.0c/dist/lib" make && make install

Any ideas for me?

Diapolo

Trac:
Username: Diapolo

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking