Author Topic: Tor 0.4.7.11-1 evutil_secure_rng_add_bytes Error  (Read 307 times)

ndawka

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Tor 0.4.7.11-1 evutil_secure_rng_add_bytes Error
« on: Mon Jan 09 00:21:08 2023 »
I have just installed a fresh copy of NuTyX 22.12. I have updated it and restarted the system. I have then installed Tor from the NuTyX repository.

Tor installed fine. But when running it (tor, tor --version, etc.) I get an error:
Quote
tor: symbol lookup error: tor: undefined symbol: evutil_secure_rng_add_bytes

I have tried restarting the system, reinstalling it, reinstalling it after changing my init system to systemd (http://nutyx.org/en/default-init-system). Nothing worked. I keep getting the same error.

I have looked up this error and found, that multiple people had this exact error on BSD-based systems. Their problem was erroneous libevent. I have installed both libevent and libevent.devel (libevent was reinstalled with 4 additional files). Restarted the system. That did not help.

Now I have realised, that
Code: [Select]
sudo systemctl status tor returns
Quote
Unit tor.service could not be found.
and running
Code: [Select]
ss | grep 9050 (9050 is the default Tor port) returns nothing. I have even run
Code: [Select]
ss to see, if Tor occupied a different port, but it is nowhere to be seen.

I am lost right now. I was planning to build Tor from source, but I am not sure, if I am missing something. Is it possible to fix this error without installing Tor from source?

P.S.
I think, this is the Tor repository: https://github.com/torproject/tor.

Best Regards!

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 674
  • Karma: +12/-0
  • Gender: Male
    • NuTyX distribution
Re: Tor 0.4.7.11-1 evutil_secure_rng_add_bytes Error
« Reply #1 on: Mon Jan 09 10:15:03 2023 »
Hello ndawka

I will look at it as soon I can.

Thanks a lot for reporting

BR,
Thierry

ndawka

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: Tor 0.4.7.11-1 evutil_secure_rng_add_bytes Error
« Reply #2 on: Mon Jan 09 13:27:25 2023 »
Also, I think there is some version mistake going on. Apparently, Tor 0.4.7.12 was committed last month (https://github.com/NuTyX/packages-x86_64/commits/rolling/cli-extra/tor), but is still listed as Tor 0.4.7.11 https://www.nutyx.org/en/?type=pkg&branch=rolling&arch=x86_64&searchpkg=tor:o

Upd.
Version is indeed listed as 0.4.7.12 in https://github.com/NuTyX/packages-x86_64/blob/rolling/cli-extra/tor/Pkgfile, so that probably is linked to the issue, since Tor is listed as 0.4.7.11-1 and is also installed as 0.4.7.11-1...
« Last Edit: Mon Jan 09 13:50:23 2023 by ndawka »

Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 674
  • Karma: +12/-0
  • Gender: Male
    • NuTyX distribution
Re: Tor 0.4.7.11-1 evutil_secure_rng_add_bytes Error
« Reply #3 on: Fri Jan 13 08:08:47 2023 »
Fixed at version 0.4.6.13

Sorry for the inconvenience

BR,
Thierry

« Last Edit: Fri Jan 13 08:11:21 2023 by Thierry »