Symbol lookup error: gimagereader-gtk: undefined symbol:

Hello,

after running a fairly large update today gimagereader-gtk fails to start with the following error msg:

$gimagereader-gtk  %U
gimagereader-gtk: symbol lookup error: gimagereader-gtk: undefined symbol: _ZN6PoDoFo8PdfImage14LoadFromBufferERKN3tcb4spanIKcLm18446744073709551615EEE

I uninstalled (-Rs) and reinstalled, no change.

I also installed gimagereader-qt6, and I get the exact same error when starting from cli:

$gimagereader-qt6 %U
gimagereader-qt6: symbol lookup error: gimagereader-qt6: undefined symbol: _ZN6PoDoFo8PdfImage14LoadFromBufferERKN3tcb4spanIKcLm18446744073709551615EEE

I use gimagereader several times a week, and it has been working without hicuup until today, so I am assuming it is today’s update.

I did run a second update later in the day and there was another kernel update, but after rebooting the issue remains unchanged.

Any help or suggestions to solve, appreciated. Thks.

First: @murkrell welcome to the forum! :purple_heart:
If you think the update is the reason for the error I would do following:
Run the command yay -Qi gimagereader-gtk and check for packages it depends on. Then check your /var/log/pacman.log if one of the depending apps was updated today. If yes this may be the culprit.
To test this you can run the command sudo downgrade <name_of_the_package> and then check again if gimagereader is running fine. If not then run the normal update again and you have to wait till the error is fixed upstream.

1 Like

@marteng69, thanks

@murkrell, after update i got same error;

from the error you might notice that the problem is related to PoDoFo library’s PdfImage::LoadFromBuffer function;

that’s why by downgrading podofo library:

$ sudo pacman -U /var/cache/pacman/pkg/podofo-0.10.3-1-x86_64.pkg.tar.zst

you might experience the other error:

error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

which could be solved by installing libxml2-legacy:

sudo pacman -S libxml2-legacy

in my case i was able to run gimagereader-qt6

have a good day, bro

1 Like