2008/04/07 12:40:51
tor
So copper.unitinu.net is now running a Tor relay. Since there's nothing else running on that box, Tor is happily soaking up ten megabits a second. How did I do it, you ask?Easy!
First I downloaded the tor and libevent sources.
[root@copper ~]#wget http://www.monkey.org/~provos/libevent-1.3e.tar.gz
output removed
[root@copper ~]#wget http://www.torproject.org/dist/tor-0.1.2.19.tar.gz
output removed
Then I unpacked the archives, ran the makefiles, etc. But tor errored out during configuration!
checking whether we need extra options to link libevent... configure: error: Found linkable libevent in (system), but it doesn't run, even with -R. Maybe specify another using --with-libevent-dir?
[root@copper tor-0.1.2.19]#
Since libevent installed correctly, I guessed that tor couldn't find the libraries. Googling the error message googlewhacked on another fellow with the same problem, which he solved by setting LD_LIBRARY_PATH to /usr/local/lib. So I, you know, did that.
[root@copper tor-0.1.2.19]# export LD_LIBRARY_PATH=/usr/local/lib
output removed
[root@copper tor-0.1.2.19]# ./configure && make
output removed, but it worked! too bad make doesn't give a completion message.
That was easy! Kinda.