I can't install firefox on CentOS
I have an AWS CentOS instance Linux server.
I FTP's over firefox-26.0.tar.bz2 and ran tar xjf firefox-26.0.tar.bz2 to unzip it.
I can't start up firefox. I cd into the firefox folder and then run firefox (LS shows there is such a file) but get this message: -bash: command not found
Can someone help me figure out how I can get firefox to run?
Thanks...
Tutte le risposte (8)
Make sure to start Firefox via ./firefox otherwise Linux will search for the file via the path environment variable and not in the currently selected directory.
Here is what I get:
./firefox
-bash: ./firefox: /lib/ld-linux.so.2: bad ELF interpreter: No such file or direc tory
And here are the files:
[ec2-user@ip-xxx-xx-x-xxx firefox]$ ls application.ini libmozalloc.so libxul.so browser libmozsqlite3.so mozilla-xremote-client chrome.manifest libnspr4.so omni.ja components libnss3.so platform.ini crashreporter libnssckbi.so plugin-container crashreporter.ini libnssdbm3.chk precomplete defaults libnssdbm3.so removed-files dependentlibs.list libnssutil3.so run-mozilla.sh dictionaries libplc4.so Throbber-small.gif firefox libplds4.so updater firefox-bin libsmime3.so updater.ini icons libsoftokn3.chk update-settings.ini libfreebl3.chk libsoftokn3.so webapprt libfreebl3.so libssl3.so webapprt-stub [ec2-user@ip-xxx-xx-x-xxx firefox]$
Modificato da cor-el il
Sounds like an issue with 32/64 bit versions of library files.
You have a 64 bit Linux distribution, but the default Firefox installer comes as a 32 bit version and that requires to have all libraries as 32 bit versions installed.
So you need to make sure to install the 32 bit version of that lib file.
Modificato da cor-el il
>So you need to make sure to install the 32 bit version of that lib file.
I don't understand. Yes I installed the x64 ver of FF so why do I need 32 bit files?
Are you saying I need to install 32-bit firefox? And are you also saying I already have 32-bit FF installed? What "lib file" name are you referring to?
Modificato da rfresh il
Firefox is 32 bit so you need to also have 32 bit libaries on your system for it to work.
The tarball from mozilla.org downloads the 32 bit version and works on 64 bit as long as you have the correct libaries.
Did you specifically download and in the 64 bit Firefox version for Linux or used the repositories of your distribution the get the 64 bit version?
You only get this error if there is a conflict with 32/64 bit library files.
Did you check the /lib/ld-linux.so.2 file?
Do you have both glibc.x86_64 and glibc.i686 installed?
(I clicked on Mark It Solved by mistake)
>Did you specifically download and in the 64 bit Firefox version for >Linux or>used the repositories of your distribution the get the 64 >bit version? I downloaded the x64 bit version from the internet
>You only get this error if there is a conflict with 32/64 bit library files. I will delete the firefox folder and try installing the 32 bit version
>Did you check the /lib/ld-linux.so.2 file? No...I am a newbie so I have no idea what that file is. But I can check it, is /lib off the root?
>Do you have both glibc.x86_64 and glibc.i686 installed? I have absolutely no idea...this is a AWS EC2 server so I have no idea what is on it already.
I've removed to Solved status. BTW, you should see a button to add or remove the solved status next to a reply.
You can check man ld-linux in a terminal window to get more info about this dynamic linker/loader file in the /lib/ directory.
You can find both 32 bit and 64 bit Firefox versions for Linux here: