You are not logged in.

#1 2014-03-18 23:25:21

zetrotrack000
Member
Registered: 2012-02-07
Posts: 87

[Solved] tor browser is not working

Hi
I have installed tor-browser-en from AUR but when I try to launch, it gives an error;

Wrong architecture? 32-bit vs. 64-bit.

How can I fix it?
PS: I have 64bit arch.

Last edited by zetrotrack000 (2014-03-19 12:22:49)

Offline

#2 2014-03-18 23:48:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] tor browser is not working

How exactly are you trying to run it?
What's the output of

grep CARCH /etc/makepkg.conf

Offline

#3 2014-03-19 07:59:03

zetrotrack000
Member
Registered: 2012-02-07
Posts: 87

Re: [Solved] tor browser is not working

karol wrote:

How exactly are you trying to run it?
What's the output of

grep CARCH /etc/makepkg.conf

Here is the output:
CARCH="x86_64"

Offline

#4 2014-03-19 09:01:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] tor browser is not working

How exactly did your run it? What command did print the 'Wrong architecture' error?

Offline

#5 2014-03-19 09:26:18

zetrotrack000
Member
Registered: 2012-02-07
Posts: 87

Re: [Solved] tor browser is not working

karol wrote:

How exactly did your run it? What command did print the 'Wrong architecture' error?

[zetro@pc ~]$ tor-browser-en 
Wrong architecture? 32-bit vs. 64-bit.
[zetro@pc ~]$ 
[zetro@pc ~]$ whereis tor-browser-en
tor-browser-en: /usr/bin/tor-browser-en
[zetro@pc ~]$ 
[zetro@pc ~]$ /usr/bin/tor-browser-en 
Wrong architecture? 32-bit vs. 64-bit.
[zetro@pc ~]$ 

Offline

#6 2014-03-19 09:27:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] tor browser is not working

What's the output of

file /usr/bin/tor-browser-en

Offline

#7 2014-03-19 11:05:58

zetrotrack000
Member
Registered: 2012-02-07
Posts: 87

Re: [Solved] tor browser is not working

karol wrote:

What's the output of

file /usr/bin/tor-browser-en
[zetro@pc ~]$ file /usr/bin/tor-browser-en
/usr/bin/tor-browser-en: a /usr/bin/env bash script, ASCII text executable

Offline

#8 2014-03-19 11:15:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] tor browser is not working

What's the output of

ls /opt/tor-browser-en

Offline

#9 2014-03-19 11:28:11

zetrotrack000
Member
Registered: 2012-02-07
Posts: 87

Re: [Solved] tor browser is not working

karol wrote:

What's the output of

ls /opt/tor-browser-en
[zetro@pc ~]$ ls /opt/tor-browser-en
tor-browser-linux64-3.5.2.1_en-US.tar.xz

Offline

#10 2014-03-19 11:31:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] tor browser is not working

I don't have 64-bit system, so I can't check. If someone sould look at the script and tell us what we're missing, otherwise it's just guesswork on my part ... -)

What's the output of

getconf LONG_BIT

Offline

#11 2014-03-19 11:33:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] tor browser is not working

Offline

#12 2014-03-19 11:45:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] tor browser is not working

These two commands should give the same answer, in your case: '64':

getconf LONG_BIT
echo $(expr "$(file ~/.tor-browser-en/INSTALL/Tor/tor)" : '.*ELF \([[:digit:]]*\)')

Sorry for all the bumping.

Offline

#13 2014-03-19 11:46:11

zetrotrack000
Member
Registered: 2012-02-07
Posts: 87

Re: [Solved] tor browser is not working

karol wrote:

I don't have 64-bit system, so I can't check. If someone sould look at the script and tell us what we're missing, otherwise it's just guesswork on my part ... -)

What's the output of

getconf LONG_BIT
[zetro@pc ~]$ getconf LONG_BIT
64

I have visited the link in the next post. The poster says that "works for me" so it seems that he had similar problem which was solved by the code he mentioned. Am I right? So how can I used his solution to solve my problem?

Offline

#14 2014-03-19 11:58:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] tor browser is not working

I think you might have missed my last post. What's the output of

echo $(expr "$(file ~/.tor-browser-en/INSTALL/Tor/tor)" : '.*ELF \([[:digit:]]*\)')

Offline

#15 2014-03-19 12:22:24

zetrotrack000
Member
Registered: 2012-02-07
Posts: 87

Re: [Solved] tor browser is not working

karol wrote:

These two commands should give the same answer, in your case: '64':

getconf LONG_BIT
echo $(expr "$(file ~/.tor-browser-en/INSTALL/Tor/tor)" : '.*ELF \([[:digit:]]*\)')

Sorry for all the bumping.

Yes I missed it. Here is the output;

[zetro@pc ~]$ getconf LONG_BIT
64
[zekr@pc ~]$ echo $(expr "$(file ~/.tor-browser-en/INSTALL/Tor/tor)" : '.*ELF \([[:digit:]]*\)')
32

Both of these commands are giving different output. But I have managed to solve the problem by deleting ~/.tor-browser-en, which was created by previous installtion of 32bit arch. Now the output of both the command is same i.e. 64.
Thanks a lot for taking interest in my problem smile

Offline

Board footer

Powered by FluxBB