tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post here if you are a new Porteus member and you're looking for some help.
postcd
White ninja
White ninja
Posts: 15
Joined: 18 Sep 2017, 09:26
Distribution: i mention in my posts

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#1 by postcd » 18 Sep 2017, 09:29

Hello,

i wanted to run tor, so i can set my browser to use Socks v5, 127.0.0.1, port 9050.
so i can have tor IP.

I run Porteus 3.1 486

Linux porteus 3.17.4-porteus #1 SMP PREEMPT Fri Dec 12 16:04:56 Local time zone must be set-- i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux

And in USM (unified package manager for slackware Linux) i found one tor package: tor-0.2.7.6-i486-bundle.xzm

I installed it and when i run "tor", i get error:
tor: symbol lookup error: tor: undefined symbol: evutil_secure_rng_set_urandom_device_file

How can i fix it so i can run tor and be able to use its network in my browser please? Thank You

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#2 by Ed_P » 18 Sep 2017, 16:47

Hello postcd,

Did you update the USB databases before you did your tor search? My system is a x86_64 and USM shows a tor-0.2.9.9 and a tor-0.3.0.10 version.
Ed

postcd
White ninja
White ninja
Posts: 15
Joined: 18 Sep 2017, 09:26
Distribution: i mention in my posts

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#3 by postcd » 18 Sep 2017, 20:46

Ed_P wrote:
18 Sep 2017, 16:47
Did you update the USB databases before you did your tor search?
thx, Yes, i think so. Now i just clicked USM/Updates/Update All , finished, told me i need to restart the app and refresh databases (unsure how). So i closed USM and reopened and searched for tor and found only the one i mentioned. i do not have 64, but 486 Porteus... yet, the tor shows mentioned error..
:unknown:

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#4 by Ed_P » 19 Sep 2017, 13:03

postcd wrote:
18 Sep 2017, 20:46
told me i need to restart the app and refresh databases (unsure how). So i closed USM and reopened
Yup, that's how to do it. :happy62:

This link help fix the tor error? https://trac.torproject.org/projects/tor/ticket/19904
Ed

postcd
White ninja
White ninja
Posts: 15
Joined: 18 Sep 2017, 09:26
Distribution: i mention in my posts

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#5 by postcd » 19 Sep 2017, 16:34

Ed_P wrote:
19 Sep 2017, 13:03
This link help fix the tor error? https://trac.torproject.org/projects/tor/ticket/19904
On that page i found the file "linkjig.patch" (https://trac.torproject.org/projects/to ... kjig.patch). I googled how to patch, but it seems difficult for me to understand how to do it. Do you know how do i execute it?

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#6 by Ed_P » 19 Sep 2017, 19:32

Well, my interpetation of the patch is it pertains to the configure.ac file that the tor app uses and the lines highlighted need to be changed or added. The red lines deletes, the green adds. As to where the configure.ac file is located appears to be the key question. Is there a /home/guest/.tor folder?
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#7 by brokenman » 20 Sep 2017, 00:54

Please update to Porteus-v3.2.2 if you are going to use the USM version of TOR.
How do i become super user?
Wear your underpants on the outside and put on a cape.

postcd
White ninja
White ninja
Posts: 15
Joined: 18 Sep 2017, 09:26
Distribution: i mention in my posts

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#8 by postcd » 20 Sep 2017, 10:58

@brokenman
I just tried to do it, but have an issue i described at: http://forum.porteus.org/viewtopic.php?f=81&t=7229

@Ed_P
Ed_P wrote:
19 Sep 2017, 19:32
Is there a /home/guest/.tor folder?
No, it is not at that path. I also did: sudo find / -name configure.ac
find: `/home/guest/.gvfs': Permission denied
/usr/share/libtool/libltdl/configure.ac
/mnt/live/memory/images/003-xfce.xzm/usr/share/libtool/libltdl/configure.ac

none of these files is similar to the patch content. Here are paths containing "/tor" : https://pastebin.com/ptTpGLFh

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#9 by Ed_P » 20 Sep 2017, 14:35

It looks like brokenman's suggestion may be the only option at this point. :happy62:
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#10 by donald » 20 Sep 2017, 16:53

@ postcd

hmmm...why do you want to use your browser with tor?
quote tor project
In short, using any browser besides Tor Browser with Tor is a really bad idea.
Our efforts to work with the Chrome team to add missing APIs were unsuccessful,unfortunately.
Currently, it is impossible to use other browsers and get the same level of protections
as when using Tor Browser.

postcd
White ninja
White ninja
Posts: 15
Joined: 18 Sep 2017, 09:26
Distribution: i mention in my posts

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#11 by postcd » 20 Sep 2017, 17:28

Because of the unsolved obstacles mentioned above, i went the long way, booting Windows (fortunately had that option) and used Rufus app to extract the 3.2.2 .iso to the flash disk which i then successfully booted.

Under Porteus 3.2.2
Then it took more than hour to update all USM databases.
Then when searching "tor" i found tor-browser package which was not there on Porteus 3.1. So i downloaded it, then opened folder /tmp/usm, right click .xzm package and picked "Activate" but it shown an error. So i go to USM / Tools / Porteus Module Tools / pkgtools / Install a slackware package / selected "/tmp/usm/tor-browser-7.0.3-i586-1_slonly.txz" and Execute. Then the Tor Browser appeared in the menu and successfully started.
I think that package installation process should be simplified for inexperienced Linux users.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#12 by Ed_P » 20 Sep 2017, 17:44

postcd wrote:
20 Sep 2017, 17:28
Then it took more than hour to update all USM databases.
See http://forum.porteus.org/viewtopic.php?f=39&t=7000 and run sesm.sh.
picked "Activate" but it shown an error.
:%)
I think that package installation process should be simplified for inexperienced Linux users.
What fun would that be? :D
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#13 by donald » 20 Sep 2017, 17:58

--> Then it took more than hour to update all USM databases. <--
Oh...,I also don't have the best/fastest i-net connection but the USM-Database update
normally doesn't take much longer than 1 or 2 min.

regarding tor-browser
version 7.0.3 is obsolete - current is version 7.0.5
https://www.torproject.org/download/dow ... html#linux
other languages:
https://www.torproject.org/projects/tor ... #downloads

scroll down the 2nd link until "Linux Instructions" to make it work.

EDIT
In short
download the tor-browser file > open terminal > cd into Downloads

Code: Select all

guest@porteus:~/Downloads$ tar -xvJf tor-browser-linux32-7.0.5_en-US.tar.xz -C /home/guest
guest@porteus:~/Downloads$ cd ~/tor-browser_en-US
guest@porteus:~/tor-browser_en-US$ ./start-tor-browser.desktop
be patient, this may take a while

one thing left to do, is to get an tor icon in "menu > internet" - run:

Code: Select all

guest@porteus:~/tor-browser_en-US$ ./start-tor-browser.desktop --register-app
done.
(tested/working in 3.2.2 XFCE 32 Bit)
Note this statement by torproject --> Do not unpack or start TBB as root.

User avatar
wread
Module Guard
Module Guard
Posts: 1255
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

tor: undefined symbol: evutil_secure_rng_set_urandom_device

Post#14 by wread » 23 Sep 2017, 23:35

I use the last version of tor together with vidalia. Then navigate with chromium :good:

switchy-x86_64-1wre.xzm is the proxy plugin for chromium; works for the user root.

Enjoy!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

Post Reply