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

Re: tor-0.1.2.18 build issues with zlib



more info. src/or/test PASSES under the conditions below.
/usr/local happens to be a managed symlink farm, in case
you're wondering about zlib123. still don't know how to
resolve this during build without LD_LIBRARY_PATH though.

## ktrace accesses during build
# configure 
 84749 cpp0     NAMI  "/usr/local/include/zlib.h"
 84765 cpp0     NAMI  "/usr/local/include/zlib.h"
# make 
 87693 cpp0     NAMI  "zlib.h"
 87693 cpp0     NAMI  "../../zlib.h"
 87693 cpp0     NAMI  "/usr/local/include/zlib.h"
 88263 ld       NAMI  "/usr/local/lib/libz.so"
 88292 ld       NAMI  "/usr/local/lib/libz.so"

#
ldconfig -r | egrep 'libz'
        41:-lz.2 => /usr/lib/libz.so.2
        200:-lz.1 => /usr/local/lib/libz.so.1
ldconfig -r | egrep 'ssl|crypto'
        52:-lcrypto.3 => /usr/lib/libcrypto.so.3
        53:-lssl.3 => /usr/lib/libssl.so.3
ldconfig -r | egrep 'event'
        115:-levent-1.3e.1 => /usr/local/lib/libevent-1.3e.so.1

### setting preference to library path
##
ldd /usr/local/bin/tor 
/usr/local/bin/tor:
        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
(0x2814d000)
        libevent-1.3e.so.1 => /usr/local/lib/libevent-1.3e.so.1
(0x2827a000)
        libc.so.4 => /usr/lib/libc.so.4 (0x2828e000)

##
LD_LIBRARY_PATH=/usr/local/lib ldd /usr/local/bin/tor
/usr/local/bin/tor:
        libz.so => /usr/local/zlib123/lib/libz.so (0x28105000)
        libssl.so.0.9.8 => /usr/local/lib/libssl.so.0.9.8 (0x28117000)
        libcrypto.so.0.9.8 => /usr/local/lib/libcrypto.so.0.9.8
(0x28152000)
        libevent-1.3e.so.1 => /usr/local/lib/libevent-1.3e.so.1
(0x2827f000)
        libc.so.4 => /usr/lib/libc.so.4 (0x28293000)

##
LD_LIBRARY_PATH=/usr/local/lib ldd src/or/test       
src/or/test:
        libz.so => /usr/local/zlib123/lib/libz.so (0x28119000)
        libssl.so.0.9.8 => /usr/local/lib/libssl.so.0.9.8 (0x2812b000)
        libcrypto.so.0.9.8 => /usr/local/lib/libcrypto.so.0.9.8
(0x28166000)
        libevent-1.3e.so.1 => /usr/local/lib/libevent-1.3e.so.1
(0x28293000)
        libc.so.4 => /usr/lib/libc.so.4 (0x282a7000)


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com