Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

direct reference to protected function #208

Open
Aqua1ung opened this issue Sep 2, 2024 · 10 comments
Open

direct reference to protected function #208

Aqua1ung opened this issue Sep 2, 2024 · 10 comments

Comments

@Aqua1ung
Copy link

Aqua1ung commented Sep 2, 2024

I just attempted to launch the AppImage on a fresh Linux installation, and here's what I get:

dad@DadsGram~/Downloads $ ./PDF4QT-1.4.0.0-x86_64.AppImage 
warning: direct reference to protected function `_ZNK7QDialog15minimumSizeHintEv' in `/usr/lib64/libQt6Widgets.so.6' may break pointer equality
./PDF4QT-1.4.0.0-x86_64.AppImage: _ZNK7QDialog15minimumSizeHintEv: /usr/lib64/libQt6Widgets.so.6: error due to GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS

Any idea what I may be doing wrong?

@raffaem
Copy link
Contributor

raffaem commented Sep 7, 2024

@JakubMelka I think we need a template for issues

What Linux distribution?

How did you install it?

@Aqua1ung
Copy link
Author

Aqua1ung commented Sep 7, 2024

What Linux distribution?

Clear Linux, Linux kernel 6.10.7.

How did you install it?

Like I said, it's the AppImage that I am using.

@JakubMelka
Copy link
Owner

@raffaem , what templates?

@Aqua1ung
Copy link
Author

Is anyone able to replicate this issue? Or am I the only one affected by this?

Again, I have been attempting to run the AppImage version on some recent Linux 6.10.x kernels. I recall being able to use it just fine on earlier kernels, though I can't really tell you which ones exactly.

Also, are there any plans to build a PDF4QT Docker image?

@JakubMelka
Copy link
Owner

Hello, @Aqua1ung, no I do not plan to create the PDF4QT Docker image. And I do not understand, why the AppImage is loading system libraries and not those provided in the AppImage. I do not know, how it is possible?

@Aqua1ung
Copy link
Author

@JakubMelka, thanks for replying. Is running the AppImage working out for you? Did you try replicating this? Are you getting the same error, or is the AppImage working fine for you?

@Aqua1ung
Copy link
Author

@JakubMelka: update: I tried a bunch of other applications packaged as AppImage, and they all work fine, hence I am pretty certain that the fault lies with the PDF4QT AppImage package.

@JakubMelka
Copy link
Owner

@Aqua1ung, I have tested it on Linux Mint and everything works correctly. I do not know, why AppImage loads the SO libraries from the system instead from the AppImage package.

@Aqua1ung
Copy link
Author

@JakubMelka, what Linux kernel did you test it on, if I may ask?

@Aqua1ung
Copy link
Author

Aqua1ung commented Nov 11, 2024

Interestingly, the AppImage seems to be working (to some extent--see below) on my wife's computer (also ClearLinux, though there may be some differences in the installed libraries). Here's what error messages she's been getting:

mom@MomsSpectre~/Downloads $ ./PDF4QT-1.4.0.0-x86_64.AppImage 
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
mom@MomsSpectre~/Downloads $ qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.svg: Cannot open file ':/pdfplugins/editorplugin/certificates.svg', because: No such file or directory
qt.svg: Cannot open file ':/pdfplugins/editorplugin/certificates.svg', because: No such file or directory
^C
mom@MomsSpectre~/Downloads $

Note that upon closing the editor window, the process needs to be killed using ^C, as it doesn't exit gracefully!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@JakubMelka @Aqua1ung @raffaem and others