Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official Waterfox Current Linux build does not run #1128

Open
laniakea64 opened this issue Sep 9, 2019 · 23 comments
Open

Official Waterfox Current Linux build does not run #1128

laniakea64 opened this issue Sep 9, 2019 · 23 comments

Comments

@laniakea64
Copy link
Contributor

@laniakea64 laniakea64 commented Sep 9, 2019

I use Xubuntu 18.04 64-bit, and I'm unable to run the official build of Waterfox 68.0b1 downloaded from the website. It doesn't start at all.

If I try to run it in Terminal, I see this error -

XPCOMGlueLoad error for file /opt/waterfox/libmozsqlite3.so:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /opt/waterfox/libmozsqlite3.so)
Couldn't load XPCOM.

My custom build of 68.0b1 runs fine without error.

@MrAlex94 What distro/version are you using to build Waterfox for Linux?

@laniakea64 laniakea64 changed the title 68.0b1: Cannot run official Linux build of Waterfox 68.0b1 on Xubuntu 18.04 68.0b1: Cannot run official Linux build of Waterfox 68.0b1 Sep 9, 2019
@laniakea64 laniakea64 changed the title 68.0b1: Cannot run official Linux build of Waterfox 68.0b1 68.0b1: Official Linux build of Waterfox 68.0b1 does not run Sep 9, 2019
@hawkeye116477

This comment has been minimized.

Copy link
Contributor

@hawkeye116477 hawkeye116477 commented Sep 9, 2019

Maybe problem can be solved by using statically linked libstdc++, just like for Classic.
Anyway, unofficial working package for 18.04 is on https://software.opensuse.org//download.html?project=home%3Ahawkeye116477%3Awaterfox&package=waterfox-beta (additionally it contains small fixes => https://github.com/hawkeye116477/waterfox-deb/tree/master/waterfox-beta/patches).

There is also AppImage package with statically linked libstdc++ https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/AppImage/waterfox-beta-latest-x86_64.AppImage.mirrorlist, which works even with CentOS 7.

Both packages are also compiled with LTO+PGO and gold as linker.

@grahamperrin

This comment has been minimized.

Copy link

@grahamperrin grahamperrin commented Sep 9, 2019

Xubuntu 18.04 64-bit,

OK on Lubuntu, touch wood:

image

@laniakea64

This comment has been minimized.

Copy link
Contributor Author

@laniakea64 laniakea64 commented Sep 10, 2019

OK on Lubuntu, touch wood:

@grahamperrin Could you please post the output from commands uname -a and lsb_release -a on that Lubuntu machine?

@grahamperrin

This comment has been minimized.

Copy link

@grahamperrin grahamperrin commented Sep 10, 2019

18.10, compared to your (Kubuntu) 18.04

grahamperrin@lubuntu:~$ uname -a
Linux lubuntu 4.18.0-25-generic #26-Ubuntu SMP Mon Jun 24 09:32:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
grahamperrin@lubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.10
Release:        18.10
Codename:       cosmic
grahamperrin@lubuntu:~$ 
@ilu33

This comment has been minimized.

Copy link

@ilu33 ilu33 commented Sep 11, 2019

Same problem on Debian9:

dpkg -l libc6
<snip>
ii  libc6:amd64    2.24-11+deb9 amd64        GNU C Library: Shared libraries
ii  libc6:i386     2.24-11+deb9 i386         GNU C Library: Shared libraries

I am soon going to update to buster anyway. I'm just wondering whether this strict version requirement is really a good idea. Mozilla obviously doesn't think so.

@laniakea64

This comment has been minimized.

Copy link
Contributor Author

@laniakea64 laniakea64 commented Sep 11, 2019

In the case of Xubuntu 18.04, there is currently no OS upgrade option. 18.04 is the newest Ubuntu LTS.

And anyway, 18.04 is sufficiently new according to system requirements for Waterfox 68.0b1 listed on https://www.waterfox.net/releases/ -

Linux
Min. OS: Any modern distro

@hawkeye116477

This comment has been minimized.

Copy link
Contributor

@hawkeye116477 hawkeye116477 commented Sep 12, 2019

@laniakea64 There is 19.04 😄

@laniakea64

This comment has been minimized.

Copy link
Contributor Author

@laniakea64 laniakea64 commented Sep 12, 2019

@laniakea64 There is 19.04 😄

19.04 is not LTS.

I can't afford the time to upgrade to an entire new OS version every 6 months.

@tcreek

This comment has been minimized.

Copy link

@tcreek tcreek commented Sep 21, 2019

Just tested on Ubuntu `18.04, same issue

@reikred

This comment has been minimized.

Copy link

@reikred reikred commented Oct 24, 2019

Is there a fix that will work for fedora 25? F25 has glibc version 2.24 and no upgrade available. Just tested also waterfox-current-2019.10, same problem

XPCOMGlueLoad error for file /usr/local/waterfox-current-2019.10/liblgpllibs.so:
/lib64/libm.so.6: version `GLIBC_2.27' not found (required by /usr/local/waterfox-current-2019.10/liblgpllibs.so)
Couldn't load XPCOM.

@tcreek

This comment has been minimized.

Copy link

@tcreek tcreek commented Oct 24, 2019

@reikred You could try compiling the source with your glibc v2.24. I have noticed the beta builds have been removed. Updating glibc is not a trivial task as other applications are built on it, and using its dynamic libraries. All the others would have to be rebuilt on it.

Building the source is really not that hard on Linux.

@hawkeye116477

This comment has been minimized.

Copy link
Contributor

@hawkeye116477 hawkeye116477 commented Oct 24, 2019

@reikred Fedora 25 is EOL, why you use still use that version?

@reikred

This comment has been minimized.

Copy link

@reikred reikred commented Oct 24, 2019

@hawkeye I think if I could get a waterfox-current-2019.10 as an AppImage that would solve my problems on f25 for now :). UPDATE: I FOUND Waterfox-2019.10-157.1.Build157.1.glibc2.17-x86_64.AppImage and it runs ok !!

Background: I was unfamiliar with AppImage, but have since I posted the above tried your AppImage version of 68.0b1, and that seems to work in f25. Yes, I know f25 is outdated and I am in the process of bringing up ubuntu 18.04 as a replacement but that is a slow process for unrelated reasons.

@tcreek, I will stick to pre-compiled if at all possible,. Thx, for the encouragement, though. I have had some "fun" compiling firefox several years ago ;).

@hawkeye116477

This comment has been minimized.

Copy link
Contributor

@hawkeye116477 hawkeye116477 commented Oct 24, 2019

Waterfox-2019.10-157.1.Build157.1.glibc2.17-x86_64.AppImage and it runs ok !!
Appears that I forgot to replace it with older version. That's little bad build, you can have some issues with extensions. It's also Classic, not Current. I'll publish new version later today.
I'm building AppImages with statically linked libstdc++ and using CentOS 7 packages, so that's why compatibility is better than in case of official package.

@reikred

This comment has been minimized.

Copy link

@reikred reikred commented Oct 24, 2019

@hawkeye116477,

I am watching https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/AppImage/ for the new version. Apparently that is the URL at which the full list of available AppImage files is visible (mostly: note to self, but please correct me if I am looking in the wrong place :))

@hawkeye116477

This comment has been minimized.

Copy link
Contributor

@hawkeye116477 hawkeye116477 commented Oct 25, 2019

@reikred Latest fixed Classic is here now => https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/AppImage/waterfox-classic-latest-x86_64.AppImage.mirrorlist. I changed name to stop confusion. Current will be later. Only problem in case of AppImages that automatic updates doesn't work and also it check for updates on waterfox.net, not on OBS, so little patch would be needed. I can't provide xml, so that's needs to be done somehow other, maybe with using libappimageupdate, but currently unfortunately something is broken on OBS and not only downloading updates is broken, but even checking for it doesn't work, it detects new version when it's not available.

@reikred

This comment has been minimized.

Copy link

@reikred reikred commented Oct 25, 2019

@hawkeye116477. I'm only looking for AppImage for "Current". I already have 68.0a1 running in the official version. I will wait for waterfox-current-2019.10 AppImage to appear. Is there any estimate for when this might happen? Thx.

@hawkeye116477

This comment has been minimized.

Copy link
Contributor

@hawkeye116477 hawkeye116477 commented Oct 28, 2019

@reikred I'm sorry it took so long, but it's available now https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/AppImage/waterfox-current-latest-x86_64.AppImage.mirrorlist with PGO+LTO and as a special bonus - language packs. But please be aware that you might experience bug with creating new profile every launch and to fix that you'll need every time run it from console with --ProfileManager or just unpack it. I don't know unfortunately how to fix that bug by another way, but seems that only happens only on some distros, for example on Manjaro works correct, only after few runs it can't start, but that can be fixed by removing addonStartup.json.lz4 from profile, maybe that's because I put unsigned langpacks into browser/extensions, but I set extensions.autoDisableScopes to 3.

@reikred

This comment has been minimized.

Copy link

@reikred reikred commented Oct 29, 2019

@hawkeye116477 I have it running . I was tripped up by the fact that wf-current switched back to ~/.waterfox as the profile location. whereas wf-68 is using ~/.mozilla/waterfox and wf-classic is using ~/.waterfox. Because of the profile location change I have not been able to test extensively yet, and have not tested for the profile problems you mention.

There is also the separate issue #1241 that makes me worried about running wf-current on existing profiles that works with other versions, so it may have to clone/rename some profiles for testing purposes, and it will take time. But thanks for getting me something that runs !!!!

@grahamperrin

This comment has been minimized.

Copy link

@grahamperrin grahamperrin commented Oct 30, 2019

#1241

Don't worry. The workaround is trivial, and one-off (once per downgrade): #1241 (comment)

wf-68

To avoid possible confusion:

  • Waterfox Current is (still) known as 68 in some contexts. This is by design.

~/.mozilla/waterfox arose with an early alpha of Waterfox Current.

@laniakea64 laniakea64 changed the title 68.0b1: Official Linux build of Waterfox 68.0b1 does not run Official Waterfox Current Linux build does not run Jan 11, 2020
@laniakea64

This comment has been minimized.

Copy link
Contributor Author

@laniakea64 laniakea64 commented Jan 11, 2020

Official Waterfox Current 2020.01 Linux build still does not run. The error message has now changed -

XPCOMGlueLoad error for file /opt/waterfox/libnspr4.so:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.30' not found (required by /opt/waterfox/libnspr4.so)
Couldn't load XPCOM.

@MrAlex94 What distro/version are you using to build Waterfox for Linux?

@InconsolableCellist

This comment has been minimized.

Copy link

@InconsolableCellist InconsolableCellist commented Jan 13, 2020

Doesn't work here either, with waterfox-classic on Ubuntu 18.10

$ uname -a 
Linux ... 4.18.0-13-generic #14-Ubuntu SMP Wed Dec 5 09:04:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.10 (Cosmic Cuttlefish)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.10"
VERSION_ID="18.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=cosmic
UBUNTU_CODENAME=cosmic

$ ./waterfox -P
XPCOMGlueLoad error for file /home/user/Downloads/waterfox-classic/libnspr4.so:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.30' not found (required by /home/user/Downloads/waterfox-classic/libnspr4.so)
Couldn't load XPCOM.

$ ldd --version
ldd (Ubuntu GLIBC 2.28-0ubuntu1) 2.28
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Extracted from: waterfox-classic-2020.01.en-US.linux-x86_64.tar.bz2

@ilu33

This comment has been minimized.

Copy link

@ilu33 ilu33 commented Jan 14, 2020

I can confirm that Waterfox current 2020.01 does not work on debian 9 and debian 10.

/opt/waterfox-current-test/waterfox
XPCOMGlueLoad error for file /opt/waterfox-current-test/libnspr4.so:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.30' not found (required by /opt/waterfox-current-test/libnspr4.so)
Couldn't load XPCOM.

ldd --version
ldd (Debian GLIBC 2.28-10) 2.28
Copyright (C) 2018 Free Software Foundation, Inc. <snip>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.