[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [SOLVED] Re: Tor fails to build connections after FreeBSD security update
- To: tor-relays@xxxxxxxxxxxxxx
- Subject: Re: [SOLVED] Re: Tor fails to build connections after FreeBSD security update
- From: Hans Schnehl <torvallenator@xxxxxxxxx>
- Date: Fri, 11 Dec 2009 13:00:25 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: tor-relays-outgoing@xxxxxxxx
- Delivered-to: tor-relays@xxxxxxxx
- Delivery-date: Fri, 11 Dec 2009 07:01:17 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=u7jhAvJhLebfzZvg8pEUVKBJ3yh3+iqIp4cXHn/1wng=; b=c/MU64yd3mLmeNILxi8sTMCE+nRcsX9poUVe3XUhlsfbpOS4hexzwBBugg2OE1TKyy UT10aEWjxsDnIeTp6TeyGF6kG927fZbIx6fNpOac7j3DFcN2tBpsVp4zkRV6RsDcoF2B Y/vvEmrN/D8v1PHzK5Wp+b6M3E/4tqQlnzxJ4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=wuStKuNv5QaseRbWMufj/ZSfpOn/uIxMRosqS34UcqyZio26dPNq4pzU87Whf7k+ts SV8LIKbWVDrw2uM4tA01KbavyavU83EsRY1quur2o6vW65pgoENTO5mB9V0e0yYIP3WC D3Gg/RXDCqX0ELwbDA9p97CjUW3ksaR0Ru0b8=
- In-reply-to: <200912111110.nBBBAZnj016207@xxxxxxxxxxxxx>
- References: <200912111110.nBBBAZnj016207@xxxxxxxxxxxxx>
- Reply-to: tor-relays@xxxxxxxxxxxxxx
- Sender: owner-tor-relays@xxxxxxxxxxxxxx
- User-agent: Mutt/1.5.19 (2009-01-05)
On Fri, Dec 11, 2009 at 05:10:35AM -0600, Scott Bennett wrote:
> On Fri, 11 Dec 2009 05:04:02 -0600 (CST) I wrote:
> > I wrote:
> >> On Sun, 6 Dec 2009 14:13:14 +0100 Hans Schnehl <torvallenator@xxxxxxxxx>
> >>wrote:
> >>>On Sun, Dec 06, 2009 at 04:37:51AM -0600, Scott Bennett wrote:
> >>>> Hmm. I have 0.9.8l installed, too, but I guess I don't know which
> >>>> version (i.e., base system vs. port) the build procedure for tor links in.
> >>>
> >> [Much stuff deleted --SB]
> >>>
> >>>I added 'WITH_OPENSSL_PORT=YES' to /etc/make.conf and let FreeBSD do the
> >>>rest with 'make install clean' in the tor-devel directory.
> >>>
> >>>Out comes a perfectly compiled binary doing what it is supposed to.
> >>>
> [More stuff deleted --SB]
> >>
> >>What, exactly, does the ports subsystem do to make tor build using the openssl
> >>port?
> >> Any helpful suggestions, other than to build tor from the tor-devel port,
> >>which I have no intention of doing, would be greatly appreciated. In the
> >>meantime, I no longer have a working tor. :---*(
> >>
> > Never mind. :-)
> > I did play with the security/tor-devel port, but didn't install it.
> >Looking at the output, I noticed that the link edit of tor had a
> >"-rpath=/usr/local/lib" on the gcc command that I didn't have in mine.
>
> I made a crucial typo below.
>
> >Adding 'LDFLAGS="-rpath-/usr/local/lib"' to the ./configure took care of the
> ^ should be equal sign '='
> >problem. 0.2.2.6-alpha is running properly now. :-)
> > Thanks, Hans, for the clues that were indeed in your message. I just
> >was a bit slow on the uptake.
> >
Yep.
Well, if NOT using the ports, below works too, apart from Scott's
solution.
---------------
This is /bin/csh; Consider setting ENV according to your shell.
# setenv LD_LIBRARY_PATH /usr/local/lib ## may be removed after build
# echo $LD_LIBRARY_PATH/
/usr/local/lib/
# tar xzf tor-0.2.2.6-alpha.tar.gz ## or git
# cd tor-0.2.2.6-alpha
# ./configure --with-openssl-dir=/usr/local/lib && make
# ldd src/or/tor
src/or/tor:
libz.so.4 => /lib/libz.so.4 (0x8817f000)
libm.so.5 => /lib/libm.so.5 (0x88191000)
libevent-1.4.so.3 => /usr/local/lib/libevent-1.4.so.3 (0x881a6000)
libssl.so.5 => /usr/local/lib/libssl.so.5 (0x881bc000)
libcrypto.so.5 => /usr/local/lib/libcrypto.so.5 (0x88200000)
libthr.so.3 => /lib/libthr.so.3 (0x88347000)
libc.so.7 => /lib/libc.so.7 (0x8835b000)
librt.so.1 => /usr/lib/librt.so.1 (0x88447000)
----------------
This update, BTW, will not only break the 'small fraction of the router
population' ;), but also all those using Tor as a client until up
to 8 Stable on newly installed and updated FreeBSD systems.
What's on 9 -Current ?