Why am I getting the "Couldn't load XRE functions", error message?
I built Firefox 11 in Fedora 16 32-bit and made it into a tar.bz2 package using the 'make package' command. It works fine in Fedora 16 32-bit. Then I took that package and untarred it in RHEL 6.1, ran the binary and got the 'Couldn't load XRE functions." error.
I have also compiled FF 11 in RHEL 6.1 32-bit and then untarred the package into Fedora 16 32-bit and got the same error.
I downloaded the FF 11 mozilla release tar.bz2 package and it works fine on both Fedora 16 32-bit and RHEL 6.1 32-bit. What am I not doing that mozilla is doing?
Alle antwurden (15)
Its Problem with ZoneAlarm Extreme Security then disable Virtualization and reinstall Firefox.
http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
Update your Firefox to 17.0.1
Certain Firefox problems can be solved by performing a Clean reinstall. This means you remove Firefox and any leftover program files and then reinstall Firefox. Please follow these steps one by one:
- Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
- After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu) and confirm all upcoming messages.
- Now, uninstall Firefox by following the steps mentioned in the Uninstall Firefox article.
IMPORTANT: On Windows, the uninstaller has the option to remove your personal data and settings. Make sure that you do not check this option; otherwise all of your bookmarks, passwords, extensions, user customizations and other Firefox user profile data will be removed from your computer.
After uninstalling Firefox on Windows, delete the "Mozilla Firefox" program folder, located by default in one of these locations:
- (On 32-bit Windows) C:\Program Files\Mozilla Firefox
- (On 64-bit Windows) C:\Program Files (x86)\Mozilla Firefox
- Go to the Windows Start menu and click on "Computer".
- In the Explorer window that opens, double click Local Disk (C:) to open the C:\ drive.
- Find the "Program Files (x86)" folder or "Program Files" folder.
- On 32-bit Windows, double-click the Program Files folder to open it.
- On 64-bit Windows, you will see a "Program Files (x86)" folder AND a "Program Files" folder. Open the Program Files (x86) folder.
- Look for a Mozilla Firefox folder. If you find one, right-click it and select Delete and confirm that you want to move the folder to the Recycle Bin.
Now, go ahead and reinstall Firefox:
- Double-click the downloaded installation file and go through the steps of the installation wizard.
- Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
Please report back to see if this helped you!
Try to ask advice at the MozillaZine Third Party/Unofficial Builds forum:
You need to register on the MozillaZine forum site in order to post at that forum.
I don't have Zone Alarm and I'm not using Windows. Thank you for your quick reply. I will continue investigating.
Bewurke troch SkateboardingBulldog op
On Fedora 16, I have xulrunner 2 installed. On RHEL 6.1, I have xulrunner 1.9.2 installed. Could these difference in versions be the cause of my binary build not running? Also, the Mozilla release build will run on both systems without this error and with 2 different versions of xulrunner installed, one version on each system, and my build will only work on the system I build it on. Why is that?
Bewurke troch SkateboardingBulldog op
The problem also occurs with a fresh install on Red Hat Enterprise Linux Server release 5.6 (Tikanga) , x86-64. Shell session below.
- [adam@rock ~]$ echo home=$HOME ; pwd ; ls -al ; md5sum firefox-18.0.tar.bz2 ; bunzip2 -c firefox-18.0.tar.bz2 | tar -xf - ; file /work/adam/firefox/firefox
- home=/work/adam
- /work/adam
- total 22152
- drwxr-xr-x 2 adam users 4096 Jan 10 08:34 .
- drwxrwxrwx 11 root root 4096 Jan 10 08:20 ..
- -rw-rw---- 1 adam users 22642722 Jan 10 08:15 firefox-18.0.tar.bz2
- lrwxrwxrwx 1 adam users 29 Sep 20 10:58 .Xauthority -> /shares/home/adam/.Xauthority
- 9c13ac73e02f8b0de02871e782e1f52d firefox-18.0.tar.bz2
- /work/adam/firefox/firefox: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.18, dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
- [adam@rock ~]$
- [adam@rock ~]$ ls -al
- total 22156
- drwxr-xr-x 3 adam users 4096 Jan 10 08:35 .
- drwxrwxrwx 11 root root 4096 Jan 10 08:20 ..
- drwxr-xr-x 11 adam users 4096 Jan 4 19:44 firefox
- -rw-rw---- 1 adam users 22642722 Jan 10 08:15 firefox-18.0.tar.bz2
- lrwxrwxrwx 1 adam users 29 Sep 20 10:58 .Xauthority -> /shares/home/adam/.Xauthority
- [adam@rock ~]$ /work/adam/firefox/firefox
- Couldn't load XRE functions.
Bewurke troch 9iB1N op
Same problem here in RHEL 5.8, x86-64.
I asked a developer and he said to try:
| make -C objdir/toolkit/library clean && make -C objdir/toolkit/library |
Let me know if that helps.
I'm using the binary I pulled out of the firefox distribution, so I don't think it's a build problem.
bearda, could you try using a binary from older Firefox nightly builds until you find a nightly build where this error does not appear? We call that regression hunting. Once we find the last good nightly build where the error did not occur, it greatly helps narrow down which bug fix may have caused this error.
There's a archive of nightlies you can check:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2011
Most likely this broke some time in early 2012 or fall 2011. Since the poster of this thread said the same problem happened with Firefox 11 (released March 13 2012).
Download a few mozilla-central builds (which are the nightly builds) and try building with the binaries from those.
The ones you want are in folders in this style:
*date*-random numbers-mozilla-central
Example:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/02/2012-02-01-03-11-46-mozilla-central/
Then download the http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/02/2012-02-01-03-11-46-mozilla-central/firefox-13.0a1.en-US.linux-i686.tar.bz2 package.
You can skip around to any day in each month. For example, when I'm searching for a regression, I'll download 3 builds per each month. One from the 1st of the month, one from the 15th of the month and another from the end of the month.
Or maybe you're missing a library or package Firefox needs to run?
From the bottom of this page:
www.mozilla.org/en-US/firefox/18.0/system-requirements/
Firefox will not run at all without the following libraries or packages:
GTK+ 2.18 or higher GLib 2.22 or higher Pango 1.14 or higher X.Org 1.0 or higher (1.7 or higher is recommended) libstdc++ 4.3 or higher
Bewurke troch NoahSUMO op
I'm not bearda, but here is what you are looking for. Per the immediately prior poster, it would appear that a out of the box redhat 5 installation is no longer sufficient. (That's fine, I'll be upgrading to redhat six sometime during the next six months.).
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/09/2012-09-01-03-05-28-mozilla-central/firefox-18.0a1.en-US.linux-x86_64.tar.bz2 (pass)
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/12/2012-12-01-03-08-12-mozilla-central/firefox-20.0a1.en-US.linux-x86_64.tar.bz2 (fail)
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/11/2012-11-01-03-07-05-mozilla-central/firefox-19.0a1.en-US.linux-x86_64.tar.bz2 (fail)
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/10/2012-10-01-03-06-03-mozilla-central/firefox-18.0a1.en-US.linux-x86_64.tar.bz2 (fail)
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/09/2012-09-12-08-58-32-mozilla-central/firefox-18.0a1.en-US.linux-x86_64.tar.bz2 (pass)
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/09/2012-09-21-03-06-01-mozilla-central/firefox-18.0a1.en-US.linux-x86_64.tar.bz2 (fail)
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/09/2012-09-17-03-05-30-mozilla-central/firefox-18.0a1.en-US.linux-x86_64.tar.bz2 (pass)
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/09/2012-09-19-03-06-02-mozilla-central/firefox-18.0a1.en-US.linux-x86_64.tar.bz2 (pass)
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/09/2012-09-18-03-05-53-mozilla-central/firefox-18.0a1.en-US.linux-x86_64.tar.bz2 (pass)
- rock 0 11% cat /etc/redhat-release ; rpm -qa | grep -i -e ^gtk2- -e ^glib- -e ^pango -e ^libstdc++
- Red Hat Enterprise Linux Server release 5.6 (Tikanga)
- libstdc++-4.1.2-50.el5
- gtk2-2.10.4-21.el5_5.6
- gtk2-engines-2.8.0-3.el5
- pango-1.14.9-8.el5_6.2
- gtk2-engines-2.8.0-3.el5
- gtk2-2.10.4-21.el5_5.6
- libstdc++-4.1.2-50.el5
- pango-1.14.9-8.el5_6.2
- rock 0 12%
Thanks 9iB1N! Nice work. Seems you narrowed it down to in-between 9/19/12 (good) & 9/21/12 (broken). I know it seems obvious but to confirm 9/20/12's build is responsible, could you download that one as well and test it? Thanks.
9/20/12 linux nightly build:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/09/2012-09-20-03-05-43-mozilla-central/firefox-18.0a1.en-US.linux-x86_64.tar.bz2
The 9/20/12 build works (pass).
Make sure that you meet the system requirements for the current Firefox version, especially the GLib 2.22 or higher library.
Thanks, Redhat 5.6 has glib2 version 2.12.3 which is older than required. I'll have to await corporate IT to upgrade/update the OS in order to use the new firefox, which probably won't happen soon.
Strangely enough the GLib requirement was changed with Firefox 17, which still ran under RHEL/CentOS 5. Time to switch to ESR, I guess. I'm curious to see what happens in about a year when ESR 17 goes EOL but RedHat continues to support RHEL 5.