mozilla-mobile / mozilla-vpn-client

A fast, secure and easy to use VPN. Built by the makers of Firefox.
https://vpn.mozilla.org
Other
453 stars 108 forks source link

VPN Exiting with "symbol lookup error" on Linux #6712

Open georgecoffey opened 1 year ago

georgecoffey commented 1 year ago

Describe the bug When trying to start the mozillavpn app, the program quits immediately with the following error: mozillavpn: symbol lookup error: mozillavpn: undefined symbol: _ZN16QNetworkDatagram7destroyEP23QNetworkDatagramPrivate, version Qt_6

VPN version: 2.14.1-jammy1

Affected Platforms:

PRETTY_NAME="KDE neon 5.27"
NAME="KDE neon"
VERSION_ID="22.04"
VERSION="5.27"
VERSION_CODENAME=jammy
ID=neon
ID_LIKE="ubuntu debian"
HOME_URL="https://neon.kde.org/"
SUPPORT_URL="https://neon.kde.org/"
BUG_REPORT_URL="https://bugs.kde.org/"
PRIVACY_POLICY_URL="https://kde.org/privacypolicy/"
UBUNTU_CODENAME=jammy

Steps to reproduce: Install app using the PPA Run "mozillavpn" from command line

Expected result: App should load

Actual result: Error is given and program exits

Additional notes: The app used to work without issue until a few days ago. I updated from "2.13.0-jammy1" to "2.14.1-jammy1" on 2023-04-16 and that is when the issues began

┆Issue is synchronized with this Jira Bug

cfpvl commented 1 year ago

I have the same issue.

installed       mozillavpn-2.14.1-jammy1.amd64 (manual:lp_ppa_mozillacorp_mozillavpn-jammy-main)
Installed       qt6-base-6.5.0+dfsg-0+22.04+jammy+unstable+build39.amd64 (auto:user_jammy-jammy-main)   Qt 6 core module
Installed       wireguard-1.0.20210914-1ubuntu2.all (auto:ubuntu-jammy-universe)        fast, modern, secure kernel VPN tunnel (metapackage)

Host: chris-GL704GV-Neon Kernel: 5.19.0-32-generic x86_64 bits: 64
    Desktop: KDE Plasma 5.27.4 Distro: KDE neon 22.04 5.27
itsmeehmon commented 1 year ago

I am experiencing the same issue on Arch linux using KDE. Previously mozillavpn had been running fine, on boot this morning the application did not launch on start, attempting to run it from the command line resulted in the exact same error message.

Have you considered a command line version of the application which will not break vpn functionality because of weird GUI stuff? Seeing the GUI displaying the status prettily seems like it should be the lowest priority for vpn software, and losing the entire functionality because of an issue with the GUI platform is not great.

Edit: oh there is a command-line version, guess I'll be trying that. Edit2: oh, nevermind the "command line interface" is part of the same client application and also unusable because of the error.

Gert-Boers commented 1 year ago

I don't use mozillavpn that often, but when I wanted to use it today, I got the same error in the cli: mozillavpn: symbol lookup error: mozillavpn: undefined symbol: _ZN16QNetworkDatagram7destroyEP23QNetworkDatagramPrivate, version Qt_6

I'm on Arcolinux (=Arch) with Gnome.

NicolasPA commented 1 year ago

Same issue on Arch 6.2.13-arch1-1, KDE Plasma 5.27.4, Mozilla VPN 2.14.0-1.

I tried removing and reinstalling, it doesn't work. I tried installing qt6-wayland which is recommended in the installation logs, it doesn't work, also tried after restarting.

Downgrading to previous versions from my cache didn't work either.

silentjay commented 1 year ago

Same error here on Arch (EndeavourOS) after doing a system upgrade earlier.

essicolo commented 1 year ago

Same on Fedora

$ /usr/bin/mozillavpn
/usr/bin/mozillavpn: symbol lookup error: /usr/bin/mozillavpn: undefined symbol: _ZN16QNetworkDatagram7destroyEP23QNetworkDatagramPrivate, version Qt_6
arnobl commented 1 year ago

Try to downgrade your qt version from 6.5 to 6.4. On Fedora 38, sudo dnf install qt6-qtbase-6.4.3-1.fc38.x86_64 sudo dnf versionlock qt6-qtbase-6.4.3-1.fc38

But using the latest 2.15 I now have mozillavpn: symbol lookup error: mozillavpn: undefined symbol: qt_resourceFeatureZstd, version Qt_6 ...

ScanuNicco commented 6 months ago

Just updated my computer and now I am having this issue on 2.20 with qt6.6. I tried to downgrade but I am worried it will break things. If Mozilla VPN is this sensitive to dependency versions, maybe you guys should make a Flatpak release.

georgecoffey commented 4 months ago

This has been resolved for me with version 2.2.0-1. I am 90% sure that's when it got fixed but it could also have been when I updated KDE Neon to version 6.

jaandrle commented 4 months ago

This has been resolved for me with version 2.2.0-1. I am 90% sure that's when it got fixed but it could also have been when I updated KDE Neon to version 6.

Similarly, for me: KDE Plasma 6.0.4, Qt 6.7, Mozilla VPN 2.21.0.

ScanuNicco commented 4 months ago

This has been resolved for me with version 2.2.0-1. I am 90% sure that's when it got fixed but it could also have been when I updated KDE Neon to version 6.

I can confirm that after upgrading to Fedora 40, which includes Plasma 6, it is once again working