You are not logged in.
Pages: 1
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
How exactly are you trying to run it?
What's the output of
grep CARCH /etc/makepkg.confOffline
How exactly are you trying to run it?
What's the output ofgrep CARCH /etc/makepkg.conf
Here is the output:
CARCH="x86_64"
Offline
How exactly did your run it? What command did print the 'Wrong architecture' error?
Offline
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
What's the output of
file /usr/bin/tor-browser-enOffline
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 executableOffline
What's the output of
ls /opt/tor-browser-enOffline
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.xzOffline
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_BITOffline
Offline
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
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
64I 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
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
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:]]*\)')
32Both 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 ![]()
Offline
Pages: 1