PDF cannot be opened with okular

Today I installed EOS KDE from the current ISO on a computer. When I went to open a PDF file to set up Okular, I got the error message: file / cannot be opened. All permissions of said partition are set to user. Attempts to open PDFs on other hard disks or USB sticks with Okular also failed.

1 Like

poppler-qt6 we got in the recent update was erroneously recompiled against Qt 6.8. I had to pull the poppler PKGBUILD into my system and recompile it against Qt 6.7.

2 Likes

Downgrading poppler-qt6 to 24.09.0-2 works for me so far.

1 Like

Thanks @Whyhow , that worked. How can I put this on the ignore list, at least until a new version is released?

sudo nano /etc/pacman.conf

Find, Edit, or add line:

IgnorePkg = okular
1 Like

Wait a minute … shouldn’t poppler-qt6 rather be ignored, so

IgnorePkg = poppler-qt6

:question:

Judging by the PKGBUILD, there are 4 related packages compiled from the same base:

pkgbase=poppler
pkgname=(‘poppler’ ‘poppler-glib’ ‘poppler-qt5’ ‘poppler-qt6’)

My semi-educated guess is that you should ignore all of them.

1 Like

COVID brain fogged :rofl:, been asleep all day.

poppler has been rebuilt against the correct 6.7 qt libraries.

4 Likes

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