flathub / net.ankiweb.Anki

https://flathub.org/apps/details/net.ankiweb.Anki
20 stars 13 forks source link

/app/share/anki/bin/libgnutls.so.30: version `GNUTLS_3_6_3' not found #49

Closed serpro69 closed 3 months ago

serpro69 commented 3 years ago

Hi,

I can't seem to be able to run Anki with flatpak anymore, though this was working fine for me so far.

Flatpak version: 1.11.2

Anki version:

Anki                                                 net.ankiweb.Anki                                                 2.1.44                    stable             system

Running ubuntu 20.04:

5.8.0-63-generic #71~20.04.1-Ubuntu

apt-cache policy libgnutls30:

libgnutls30:
  Installed: 3.6.13-2ubuntu1.3
  Candidate: 3.6.13-2ubuntu1.3
  Version table:
 *** 3.6.13-2ubuntu1.3 500
        500 http://no.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.6.13-2ubuntu1 500
        500 http://no.archive.ubuntu.com/ubuntu focal/main amd64 Packages

nm -D /usr/lib/x86_64-linux-gnu/libgnutls.so.30 | grep GNUTLS_3:

0000000000000000 A GNUTLS_3_4
0000000000000000 A GNUTLS_3_6_0
0000000000000000 A GNUTLS_3_6_10
0000000000000000 A GNUTLS_3_6_12
0000000000000000 A GNUTLS_3_6_13
0000000000000000 A GNUTLS_3_6_2
0000000000000000 A GNUTLS_3_6_3
0000000000000000 A GNUTLS_3_6_4
0000000000000000 A GNUTLS_3_6_5
0000000000000000 A GNUTLS_3_6_6
0000000000000000 A GNUTLS_3_6_8
0000000000000000 A GNUTLS_3_6_9

Full error output:

✓ ~→ flatpak run net.ankiweb.Anki
/app/share/anki/bin/libgnutls.so.30: version `GNUTLS_3_6_3' not found (required by /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so)
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
Gtk-Message: 16:45:39.799: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:45:39.799: Failed to load module "canberra-gtk-module"
Qt warning: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Qt warning: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Qt fatal: Could not initialize GLX
cfergeau commented 2 years ago

I'm also getting these GNUTLS_3_6_3 messages, but the anki flatpak runs fine for me. I don't think they are related to your issue, the important error messages are:

Qt warning: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Qt warning: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Qt fatal: Could not initialize GLX
rayes0 commented 3 months ago

If you still have this issue, please try with the latest version, closing for now.