#29519 closed defect (fixed)

Tor from Git on FreeBSD: cc src/test/test-slow leads to "/usr/bin/ld: error: unable to find library -levent"

Reported by: neel Owned by: neel
Priority: Medium Milestone: Tor: 0.4.0.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: freebsd 040-backport
Cc: neel Actual Points:
Parent ID: Points:
Reviewer: ahf Sponsor:


When I compile Tor from Git (6c173d00f5ecba150b1a70a68de6102428d65f51) on FreeBSD, I get this error:

neel@xb3:~/code/tor/tor % make
make  all-am
  CCLD     src/test/test-slow
/usr/bin/ld: error: unable to find library -levent
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

make[1]: stopped in /usr/home/neel/code/tor/tor
*** Error code 1

make: stopped in /usr/home/neel/code/tor/tor
neel@xb3:~/code/tor/tor %

This error exists on 11.2 and 12.0.

Child Tickets

Change History (6)

comment:1 Changed 20 months ago by neel

Cc: neel added
Owner: set to neel
Status: newassigned

comment:2 Changed 20 months ago by neel

Status: assignedneeds_review

PR is here: https://github.com/torproject/tor/pull/707

UPDATE: I put the wrong link. Sorry.

Last edited 20 months ago by neel (previous) (diff)

comment:3 Changed 20 months ago by dgoulet

Keywords: freebsd added
Milestone: Tor: 0.4.1.x-final
Reviewer: ahf

comment:4 Changed 20 months ago by ahf

Status: needs_reviewneeds_revision

Hm, I wonder if this issue exists in a released version of Tor?

If it does, we need a changes file for the commit, but otherwise it looks good.

comment:5 Changed 20 months ago by neel

Status: needs_revisionmerge_ready

This did not exist in any released Tor version. The latest version, does not have this issue.

  CC       src/ext/test_test_slow-tinytest.o
  CCLD     src/test/test-slow
  CC       src/test/test_memwipe-test-memwipe.o
  GEN      doc/torify.html
  GEN      doc/tor-print-ed-signing-cert.html.in
  GEN      doc/tor-print-ed-signing-cert.html
neel@tiny:~/Downloads/tor-tor- %

comment:6 Changed 20 months ago by nickm

Keywords: 040-backport added
Milestone: Tor: 0.4.1.x-finalTor: 0.4.0.x-final
Resolution: fixed
Status: merge_readyclosed

Merged to 0.4.0 and forward.

Note: See TracTickets for help on using tickets.