Skip to content

Test binaries by tor-browser-build on different platforms

One of the homework of #6 (closed) is testing that the binaries produced by tor-browser-build are actually working on those platforms.

Projects to test

  • tor
  • obfs4
  • snowflake

Platforms to test

  • torbrowser-linux-x86_64
  • torbrowser-linux-i686
  • torbrowser-windows-i686
  • torbrowser-windows-x86_64
  • torbrowser-osx-x86_64

Also these? How?

  • torbrowser-android-armv7
  • torbrowser-android-aarch64
  • torbrowser-android-x86
  • torbrowser-android-x86_64

Test instructions

  • Unpack the tor.tar.gz archive and find the tor/tor.exe binary
  • Try to run the tor binary on the command-line, e.g., ./tor or .\tor.exe in the respective directory

This should result in Tor starting up, looking something like this:

$ ./tor 
Jan 04 23:26:33.688 [notice] Tor 0.4.7.2-alpha (git-4e921f5b8856af5c) running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1m, Zlib 1.2.11, Liblzma N/A, Libzstd N/A and Glibc 2.33 as libc.
Jan 04 23:26:33.688 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jan 04 23:26:33.688 [notice] This version is not a stable Tor release. Expect more bugs than usual.
Jan 04 23:26:33.688 [notice] Configuration file "/var/tmp/dist/tor/etc/tor/torrc" not present, using reasonable defaults.
Jan 04 23:26:33.690 [notice] Opening Socks listener on 127.0.0.1:9050
Jan 04 23:26:33.690 [notice] Opened Socks listener connection (ready) on 127.0.0.1:9050
Jan 04 23:26:33.000 [notice] Bootstrapped 0% (starting): Starting
Jan 04 23:26:33.000 [notice] Starting with guard context "default"
Jan 04 23:26:34.000 [notice] Bootstrapped 5% (conn): Connecting to a relay
Jan 04 23:26:34.000 [notice] Bootstrapped 10% (conn_done): Connected to a relay

Please report back if this works for you and if not, what's the error that is shown.

Please also report back the output of ldd tor, if that works on your machine. If your OS supports it, please try to run the binaries like this: LD_LIBRARY_PATH=. ./tor

Edited by Nico