Okular is still out of whack

Hello,

  • _OpenMandriva Lx version:_Rolling

  • _Desktop environment (KDE, LXQT…):_KDE, LXQt, XFCE

  • Description of the issue (screenshots if relevant):

  • _Relevant informations (hardware involved, software version, logs or output…):_in VirtualBox
    The program “okular” is still out of work.
    When open a PDF-document okular crashed.

@VM-OpenMandriva ~]$ okular
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib64/dri, suffix _dri)
failed to load driver: zink
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.NameHasNoOwner" 
 "Could not activate remote peer: startup job failed."
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.NameHasNoOwner" 
 "Could not activate remote peer: startup job failed."
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.NameHasNoOwner" 
 "Could not activate remote peer: startup job failed."
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.NameHasNoOwner" 
 "Could not activate remote peer: startup job failed."
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.NameHasNoOwner" 
 "Could not activate remote peer: startup job failed."
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.NameHasNoOwner" 
 "Could not activate remote peer: startup job failed."
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.NameHasNoOwner" 
 "Could not activate remote peer: startup job failed."
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.NameHasNoOwner" 
 "Could not activate remote peer: startup job failed."
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib64/dri, suffix _dri)
failed to load driver: zink
okular: symbol lookup error: /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so: undefined symbol: _ZN7Poppler27availableCryptoSignBackendsEv

Can I hope that this bug will be fixed?

with regards
Ch. Hanisch

There isn’t any bug.

Okular works here, but there’s 2 interesting error messages that may give an indication of what is going wrong (and oddly enough, they’re unrelated, so there’s probably 2 different things going wrong):

qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.

Are you actually using wayland, or is something misdetecting the display server? We default to X11…

and:

okular: symbol lookup error: /usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so: undefined symbol: _ZN7Poppler27availableCryptoSignBackendsEv

This, translated to clear text, means that okularGenerator_poppler.so can’t be loaded because it doesn’t see a definition of Poppler::availableCryptoSignBackends().
That symbol is defined in /usr/lib64/libpoppler-qt5.so.1, from the lib64poppler-qt5 package. Do you have the current version of that (current version is 23.11.0-1)? You can find out by running rpm -q lib64poppler-qt5.

The second error looks like an incomplete update. Does sudo dnf --refresh distro-sync show anything?

Hello,

VM-OpenMandriva ~]$ sudo dnf install lib64poppler-qt5                  
Letzte Prüfung auf abgelaufene Metadaten: vor 0:07:36 am Do 30 Nov 2023 14:20:20 CET.
Abhängigkeiten sind aufgelöst.
================================================================================================================================================================
 Paket                                      Architektur                      Version                             Paketquelle                              Größe
================================================================================================================================================================
Installieren:
 lib64poppler-qt5                           x86_64                           23.11.0-1                           rolling-x86_64                           176 k

Transaktionszusammenfassung
================================================================================================================================================================
Installieren  1 Paket

Gesamtgröße: 176 k
Installationsgröße: 597 k
Ist dies in Ordnung? [j/N]: j
Pakete werden heruntergeladen:
[SKIPPED] lib64poppler-qt5-23.11.0-1-omv2390.x86_64.rpm: Already downloaded                                                                                    
Transaktionsüberprüfung wird ausgeführt
Transaktionsüberprüfung war erfolgreich.
Transaktion wird getestet
Die heruntergeladenen Pakete wurden bis zur nächsten erfolgreichen Transaktion im Zwischenspeicher abgelegt.
Sie können zwischengespeicherte Pakete mit dem Befehl »dnf clean packages« entfernen.
Fehler: Transaktionstest fehlerhaft:
  Datei /usr/lib64/libpoppler-qt5.so.1 aus der Installation von lib64poppler-qt5-23.11.0-1.x86_64 kollidiert mit der Datei aus dem Paket lib64poppler-qt5_1-22.02.0-1.x86_64
@VM-OpenMandriva ~]$ rpm -q lib64poppler-qt5
Das Paket lib64poppler-qt5 ist nicht installiert

Oh, it is just installed!?

@VM-OpenMandriva ~]$ rpm -qa | grep -i  lib64poppler-qt5
lib64poppler-qt5_1-22.02.0-1.x86_64
@VM-OpenMandriva ~]$ sudo dnf remove lib64poppler-qt5_1-22.02.0-1.x86_64
Abhängigkeiten sind aufgelöst.
================================================================================================================================================================
 Paket                                                 Architektur                Version                             Paketquelle                         Größe
================================================================================================================================================================
Entfernen:
 lib64poppler-qt5_1                                    x86_64                     22.02.0-1                           @rock-x86_64                        588 k
Abhängige Pakete werden entfernt:
 baloo                                                 x86_64                     5.112.0-1                           @rolling-x86_64                     1.6 M
 digikam                                               x86_64                     8.1.0-2                             @rolling-x86_64                      49 M
 dolphin                                               x86_64                     1:23.08.3-1                         @rolling-x86_64                     7.2 M
 dolphin-plugins                                       x86_64                     1:23.08.3-1                         @rolling-x86_64                     2.3 M
 gwenview                                              x86_64                     23.08.3-1                           @rolling-x86_64                     9.5 M
 kdenlive                                              x86_64                     23.08.3-2                           @rolling-x86_64                      67 M
 krita                                                 x86_64                     5.2.1-1                             @rolling-x86_64                     181 M
 okular                                                x86_64                     23.08.3-1                           @rolling-x86_64                     230 k
 okular-pdf                                            x86_64                     23.08.3-1                           @rolling-x86_64                     553 k
 plasma-browser-integration                            x86_64                     5.27.9-1                            @rolling-x86_64                     417 k
 plasma-desktop                                        x86_64                     5.27.9-1                            @rolling-x86_64                      31 M
 plasma-workspace                                      x86_64                     5.27.9.1-1                          @rolling-x86_64                      47 M
 plasma-workspace-x11                                  x86_64                     5.27.9.1-1                          @rolling-x86_64                     160 k
 showfoto                                              x86_64                     8.1.0-2                             @rolling-x86_64                     1.2 M
Nicht benötigte Abhängigkeiten werden entfernt:
 baloo-widgets                                         x86_64                     23.08.3-1                           @rolling-x86_64                     184 k
 dvdauthor                                             x86_64                     0.7.2-7                             @rolling-x86_64                     487 k
 dvgrab                                                x86_64                     3.5-19                              @rolling-x86_64                     217 k
 frei0r-plugins                                        x86_64                     2.3.1-1                             @rolling-x86_64                     5.1 M
 gpsd                                                  x86_64                     3.25-2                              @rolling-x86_64                     3.2 M
 gpsd-python                                           x86_64                     3.25-2                              @rolling-x86_64                     536 k
 graphicsmagick                                        x86_64                     1.3.42-1                            @rolling-x86_64                     2.6 M
 kactivitymanagerd                                     x86_64                     5.27.9-1                            @rolling-x86_64                     739 k
 kfilemetadata                                         x86_64                     5.112.0-1                           @rolling-x86_64                     847 k
 kimageformats                                         x86_64                     5.112.0-1                           @rolling-x86_64                       0  
 kimageformats-ani                                     x86_64                     5.112.0-1                           @rolling-x86_64                      26 k
 kimageformats-avif                                    x86_64                     5.112.0-1                           @rolling-x86_64                      34 k
 kimageformats-dds                                     x86_64                     5.112.0-1                           @rolling-x86_64                     146  
 kimageformats-eps                                     x86_64                     5.112.0-1                           @rolling-x86_64                      42 k
 kimageformats-exr                                     x86_64                     5.112.0-1                           @rolling-x86_64                      26 k
 kimageformats-hdr                                     x86_64                     5.112.0-1                           @rolling-x86_64                      25 k
 kimageformats-jp2                                     x86_64                     5.112.0-1                           @rolling-x86_64                     144  
 kimageformats-jxl                                     x86_64                     5.112.0-1                           @rolling-x86_64                      36 k
 kimageformats-ora                                     x86_64                     5.112.0-1                           @rolling-x86_64                      15 k
 kimageformats-pcx                                     x86_64                     5.112.0-1                           @rolling-x86_64                      32 k
 kimageformats-pic                                     x86_64                     5.112.0-1                           @rolling-x86_64                      34 k
 kimageformats-psd                                     x86_64                     5.112.0-1                           @rolling-x86_64                      54 k
 kimageformats-qoi                                     x86_64                     5.112.0-1                           @rolling-x86_64                      27 k
 kimageformats-ras                                     x86_64                     5.112.0-1                           @rolling-x86_64                      23 k
 kimageformats-raw                                     x86_64                     5.112.0-1                           @rolling-x86_64                      54 k
 kimageformats-rgb                                     x86_64                     5.112.0-1                           @rolling-x86_64                      33 k
 kimageformats-tga                                     x86_64                     5.112.0-1                           @rolling-x86_64                      23 k
 kimageformats-xcf                                     x86_64                     5.112.0-1                           @rolling-x86_64                     140 k
 kio-admin                                             x86_64                     23.08.3-1                           @rolling-x86_64                     249 k
 kquickcharts                                          x86_64                     5.112.0-1                           @rolling-x86_64                     390 k
 kuserfeedback                                         x86_64                     1.2.0-3                             @rolling-x86_64                     199 k
 ladspa                                                x86_64                     1.17-1                              @rolling-x86_64                      97 k
 lensfun                                               x86_64                     0.3.3-2                             @rolling-x86_64                     5.2 M
 lib64KF5Baloo5                                        x86_64                     5.112.0-1                           @rolling-x86_64                     172 k
 lib64KF5BalooEngine5                                  x86_64                     5.112.0-1                           @rolling-x86_64                     183 k
 lib64KF5BalooWidgets5                                 x86_64                     23.08.3-1                           @rolling-x86_64                     205 k
 lib64KF5FileMetaData                                  x86_64                     5.112.0-1                           @rolling-x86_64                     149 k
 lib64Okular5Core                                      x86_64                     23.08.3-1                           @rolling-x86_64                     1.0 M
 lib64OpenColorIO                                      x86_64                     2.2.1-5                             @rolling-x86_64                     3.4 M
 lib64absl_log_internal_conditions                     x86_64                     20230802.1-1                        @rolling-x86_64                     6.0 k
 lib64astro1                                           x86_64                     23.08.3-1                           @rolling-x86_64                     423 k
 lib64digikamcore                                      x86_64                     8.1.0-2                             @rolling-x86_64                      13 M
 lib64digikamdatabase                                  x86_64                     8.1.0-2                             @rolling-x86_64                     1.8 M
 lib64digikamgui                                       x86_64                     8.1.0-2                             @rolling-x86_64                     7.1 M
 lib64dolphinprivate5                                  x86_64                     1:23.08.3-1                         @rolling-x86_64                     1.3 M
 lib64dolphinvcs5                                      x86_64                     1:23.08.3-1                         @rolling-x86_64                      11 k
 lib64dv4                                              x86_64                     1.0.0-26                            @rolling-x86_64                     119 k
 lib64epub0                                            x86_64                     0.2.2-18                            @rolling-x86_64                      55 k
 lib64fftw3_threads3                                   x86_64                     3.3.10-4                            @rolling-x86_64                      27 k
 lib64gavl1                                            x86_64                     1.4.0-11                            @rolling-x86_64                     4.9 M
 lib64gps                                              x86_64                     3.25-2                              @rolling-x86_64                     163 k
 lib64graphicsmagick3                                  x86_64                     1.3.42-1                            @rolling-x86_64                     1.8 M
 lib64gwenviewlib5                                     x86_64                     23.08.3-1                           @rolling-x86_64                     1.5 M
 lib64ibus1.0_5                                        x86_64                     1.5.28-1                            @rolling-x86_64                     525 k
 lib64kcolorpicker0                                    x86_64                     0.2.0-1                             @rolling-x86_64                      72 k
 lib64kimageannotator                                  x86_64                     0.6.1-1                             @rolling-x86_64                     1.5 M
 lib64lensfun0                                         x86_64                     0.3.3-2                             @rolling-x86_64                     119 k
 lib64marblewidget-qt5                                 x86_64                     23.08.3-1                           @rolling-x86_64                     5.8 M
 lib64mediainfo0                                       x86_64                     23.10-1                             @rolling-x86_64                     6.1 M
 lib64mlt++-7_7                                        x86_64                     7.20.0-2                            @rolling-x86_64                     187 k
 lib64mlt-7_7                                          x86_64                     7.20.0-2                            @rolling-x86_64                     278 k
 lib64movit8                                           x86_64                     1.6.3-2                             @rolling-x86_64                     534 k
 lib64mypaint0                                         x86_64                     1.6.1-3                             @rolling-x86_64                     152 k
 lib64opencv_calib3d                                   x86_64                     4.8.1-1                             @rolling-x86_64                     2.0 M
 lib64opencv_core                                      x86_64                     4.8.1-1                             @rolling-x86_64                     3.0 M
 lib64opencv_dnn                                       x86_64                     4.8.1-1                             @rolling-x86_64                     4.0 M
 lib64opencv_features2d                                x86_64                     4.8.1-1                             @rolling-x86_64                     652 k
 lib64opencv_flann                                     x86_64                     4.8.1-1                             @rolling-x86_64                     336 k
 lib64opencv_imgcodecs                                 x86_64                     4.8.1-1                             @rolling-x86_64                     308 k
 lib64opencv_imgproc                                   x86_64                     4.8.1-1                             @rolling-x86_64                     3.2 M
 lib64opencv_ml                                        x86_64                     4.8.1-1                             @rolling-x86_64                     470 k
 lib64opencv_objdetect                                 x86_64                     4.8.1-1                             @rolling-x86_64                     904 k
 lib64opencv_video                                     x86_64                     4.8.1-1                             @rolling-x86_64                     472 k
 lib64protobuf                                         x86_64                     25.1-1                              @rolling-x86_64                     3.2 M
 lib64pystring0.0                                      x86_64                     1.1.3-1                             @rolling-x86_64                      52 k
 lib64qalculate                                        x86_64                     4.8.1-1                             @rolling-x86_64                     5.3 M
 lib64quazip1-qt5_1                                    x86_64                     1.4-1                               @rolling-x86_64                     188 k
 lib64quicktime0                                       x86_64                     1.2.4-8                             @rolling-x86_64                     455 k
 lib64scim                                             x86_64                     1.4.18-5                            @rolling-x86_64                     798 k
 lib64scim-x11utils                                    x86_64                     1.4.18-5                            @rolling-x86_64                     8.0 k
 lib64tinyxml2                                         x86_64                     9.0.0-1                             @rolling-x86_64                      82 k
 lib64turbojpeg0                                       x86_64                     1:3.0.1-1                           @rolling-x86_64                     949 k
 lib64unibreak5                                        x86_64                     5.1-1                               @rolling-x86_64                     132 k
 lib64zen0                                             x86_64                     0.4.41-1                            @rolling-x86_64                     284 k
 libqalculate-data                                     noarch                     4.8.1-1                             @rolling-x86_64                     1.9 M
 mediainfo                                             x86_64                     23.10-2                             @rolling-x86_64                     188 k
 mlt                                                   x86_64                     7.20.0-2                            @rolling-x86_64                     1.4 M
 mlt-qt5                                               x86_64                     7.20.0-2                            @rolling-x86_64                     4.5 M
 movit                                                 x86_64                     1.6.3-2                             @rolling-x86_64                      63 k
 okular-common                                         x86_64                     23.08.3-1                           @rolling-x86_64                      13 M
 okular-postscript                                     x86_64                     23.08.3-1                           @rolling-x86_64                     185 k
 python-qt5-xml                                        x86_64                     5.15.10-1                           @rolling-x86_64                     337 k
 qqc2-desktop-style                                    x86_64                     5.112.0-1                           @rolling-x86_64                     314 k
 qt5-qttools                                           x86_64                     5.15.11-2                           @rolling-x86_64                     358 k
 rtaudio                                               x86_64                     5.2.0-1                             @rolling-x86_64                     106 k
 scim-common                                           x86_64                     1.4.18-5                            @rolling-x86_64                     1.4 M
 xmessage                                              x86_64                     1.0.6-1                             @rolling-x86_64                      24 k

Transaktionszusammenfassung
================================================================================================================================================================
Entfernen  112 Pakete

Freigegebener Speicherplatz: 522 M
Ist dies in Ordnung? [j/N]: 
Vorgang abgebrochen.

It will remove too much packages!?

What can I do?

with regards
Ch. Hanisch

You have an old version of the package installed (lib64poppler-qt5_1, the new version is called lib64poppler-qt5 without the superfluous _1).
Looks like for some reason the new package isn
The simplest way to fix this is:

sudo rpm -e --nodeps lib64poppler-qt5_1
sudo dnf install lib64poppler-qt5

Don’t worry about the --nodeps, the new provides everything that’s needed.
You probably want to run

sudo dnf --refresh distro-sync

afterwards and check if there’s any other packages being held back.

1 Like

That was the solution - thank you very much!

Okular works well now again.

withe regards
Ch. Hanisch

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.