Cannot load pdf plugin

Asked by monkeybrain2012

Just updated qpdfview and it is completely broken, It says cannot load pdf plugin and won't even start. Can start in terminal without error but all my tabs are gone.

Since I need it badly if you cannot reverse the change quickly can you point me to yesterday's tarball so I can compile it myself?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Solved by:
monkeybrain2012
Solved:
Last query:
Last reply:
Revision history for this message
monkeybrain2012 (kammon101) said :
#1

Ubuntu 16.04. On the 18.04 machine it is fine.

Revision history for this message
Razi Alavizadeh (srazi) said :
#2

The following link doesn't contain last changes:

https://bazaar.launchpad.net/~adamreichold/qpdfview/trunk/tarball/2075

Revision history for this message
monkeybrain2012 (kammon101) said :
#3

I have compiled 0.4.17.99~2076~63~ubuntu18.10.1 from the tar ball on 16.04 against qt 5.9.5. lrelease qpdfview.pro gave a lot of failures but the rest of the build proceeds without problem

It works without issue except I lost all my tabs due to not being able to open the pdfs after update.

So it seems it has something to do with the ppa build rather than the source itself.

Thanks Razi for the link.

Revision history for this message
Adam Reichold (adamreichold) said :
#4

Hello,

so I just updated to 2076 on OpenSUSE Tumbleweed and it does seem to work as well as building from source. Hence, I am not sure whether 2075..2076 is the problem, I rather guess that switching the daily debs from Qt4 to Qt5 is.

When you say you built 2076 on Ubuntu 16.04 from source, did you build against Qt4 or Qt5?

Can you execute the broken PPA package in a terminal to see if anything useful is logged?

Thanks.

Best regards,
Adam.

Revision history for this message
monkeybrain2012 (kammon101) said :
#5

Hi,

Terminal outputs for broken ppa package: launched qpdfview then attempted to open a .pdf file, then attempted to open a .djvu file, both failed

Could not load local plug-in: "/usr/bin/libqpdfview_pdf."
"The shared library was not found."
Could not load global plug-in: "/usr/lib/qpdfview/libqpdfview_pdf."
"The shared library was not found."
Could not load local plug-in: "/usr/bin/libqpdfview_djvu."
"The shared library was not found."
Could not load global plug-in: "/usr/lib/qpdfview/libqpdfview_djvu."
"The shared library was not found."

I compiled 2076 with qt5 (version5.9.5, which I compiled locally from source)

Revision history for this message
Adam Reichold (adamreichold) said :
#6

Hello again,

it seems like QMAKE_EXTENSION_SHLIB [1] is broken on Ubuntu 16.04. I just pushed trunk revision 2077 which tries to fix this up but keeps it automatic where a value is set. Please have another try with the daily debs when they are ready which should be in a few minutes...

Best regards,
Adam

[1] https://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-extension-shlib

Revision history for this message
monkeybrain2012 (kammon101) said :
#7

Hi,

Just tested out the latest update and it is working now.

Thanks a lot!