A friend and I are working on a project that includes Tor. It needs to be completely portable, including all libraries it needs. All I was able to find via research was building a static Tor binary, but 1. It was noted that this is very bad practice, and 2. when I try to , I get:
... checking for event2/bufferevent_ssl.h... yes checking for library containing pow... -lm checking for openssl directory... configure: WARNING: Could not find a linkable openssl. If you have it installed somewhere unusual, you can specify an explicit path using --with-openssl-dir configure: WARNING: On Debian, you can install openssl using "apt-get install libssl-dev" configure: error: Missing libraries; unable to proceed. root@K7DXS-Laptop:/var/git/tor#
Note that yes, I have installed libssl-dev using apt-get.
How do I either:
Successfully compile a static binary that could be used in production, or
- Make the standard tor binary portable even on systems without the libraries (libevent, libssl, and zlib) without a static binary?
EDIT: I just realized that I'm using a 64-bit system, so when compiling I would get a 64-bit binary. I need a 32-bit one for portability.