[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

tor- build issues with zlib

hi torizens...

1 - how can i tell tor to compile and use the zlib in /usr/local ? 
 there are two zlib versions on the system. the older supports
 legacy apps. there doesn't seem to be a --with-zlib-dir option
 to do this.
2 - i get a gzip test error as below.

i've checked the bugtracker for both, no entries.
ideas? thx.

# installed in /usr

# installed in /usr/local

# host
pentiumII, freebsd 4.11-STABLE [really RELENG_4 as of a week ago]

# build info
ports/packages are not used, all from original sources.
configure options: --prefix, --mandir
configure, make, make install output is completely clean as usual, no
tor itself runs fine, no problems. just ignore the torrc and socket
stuff below.

# build output - zlib related
cf.std: checking zlib.h usability... yes
cf.std: checking zlib.h presence... yes
cf.std: checking for zlib.h... yes
mk.std: gcc  -g -O2 -Wall -g -O2  -L/usr/local/lib -o tor <objs>
 ../common/libor.a ../common/libor-crypto.a -lz -lssl -lcrypto -levent
-lssl -lcrypto
mk.std: gcc  -g -O2 -Wall -g -O2  -L/usr/local/lib -o test <objs>
 ../common/libor.a ../common/libor-crypto.a -lz -lssl -lcrypto -levent
-lssl -lcrypto

# ldd
        libz.so => /usr/lib/libz.so (0x28105000)
        libssl.so.0.9.8 => /usr/local/lib/libssl.so.0.9.8 (0x28112000)
        libcrypto.so.0.9.8 => /usr/local/lib/libcrypto.so.0.9.8
        libevent-1.3e.so.1 => /usr/local/lib/libevent-1.3e.so.1
        libc.so.4 => /usr/lib/libc.so.4 (0x2828e000)
        libz.so => /usr/lib/libz.so (0x28119000)
        libssl.so.0.9.8 => /usr/local/lib/libssl.so.0.9.8 (0x28126000)
        libcrypto.so.0.9.8 => /usr/local/lib/libcrypto.so.0.9.8
        libevent-1.3e.so.1 => /usr/local/lib/libevent-1.3e.so.1
        libc.so.4 => /usr/lib/libc.so.4 (0x282a2000)

# exec - works fine, this is just a test
[notice] Tor v0.1.2.18. This is experimental software. Do not rely on
it for strong anonymity.
[notice] Configuration file "/usr/local/tor01218/etc/tor/torrc" not
present, using reasonable defaults.
[notice] Initialized libevent version 1.3e using method kqueue. Good.
[notice] Opening Socks listener on
[warn] Could not bind to Address already in use. Is Tor
already running?
[warn] Failed to parse/validate config: Failed to bind one of the
listener ports.
[err] Reading config failed--see warnings above.

# exec - excess .'s trimmed
Running Tor unit tests on FreeBSD i386
========================== Buffers =========================
========================== Crypto ==========================
========================= Util ============================
File test.c: line 1136 (test_gzip): assertion failed:
(!tor_gzip_compress(&buf2, &len1, buf1, strlen(buf1)+1, GZIP_METHOD))
========================= Onion Skins =====================
========================= Directory Formats ===============
========================= Policies ===================
========================= Rendezvous functionality ========

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around