[tor-talk] Cannot upgrade tor-devel under FreeBSD

Hans Schnehl torvallenator at gmail.com
Wed May 11 14:23:56 UTC 2011


On Wed, May 11, 2011 at 01:57:03PM +0000, James Brown wrote:
> I have the next problem:
> 
> > mv -f .deps/test-child.Tpo .deps/test-child.Po
> > cc  -O2 -pipe  -fno-strict-aliasing -Wall -fno-strict-aliasing  -ltcmalloc  -L/usr/local/lib/event2 -rpath=/usr/local/lib -z relro -z now -o test-child test-child.o  -pthread
> > /usr/bin/ld: cannot find -ltcmalloc
> > *** Error code 1

[...] 
> What is that and how I can fix it?
>
Unless you really need it, change  WITH_TCMALLOC=true to WITHOUT_TCMALLOC=true
in /var/db/ports/tor/options   and it will buld just fine.
BTW, not building tcmalöloc is the default.


Otherwise tor will try to pull something  called google-perftools-1.7,
link against it and fails. This one's the culprit.

hth


More information about the tor-talk mailing list