0.97.0: AppImage doesn't work on Fedora 32

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

joshas
Posts: 8
Joined: Sat Feb 08, 2020 10:11 am

0.97.0: AppImage doesn't work on Fedora 32

Post by joshas »

XnView: MP 0.97.0 - Linux Appimage 64bit
OS: Linux - 64bit (Fedora 32 Workstation Edition)

XnView MP fails to start on Fedora 32.
Downloaded AppImage, chmod +x to make it executable. Running

Effect: Program fails to start.

To reproduce:
1. Download AppImage (XnView_MP.glibc2.17-x86_64.AppImage)
2. Make AppImage executable with chmod +x
3. Run AppImage in Terminal
Actual behaviour (bug): XnView doesn't start, shows following error message:

Code: Select all

/tmp/.mount_XnViewC6hH7d/usr/XnView/XnView: symbol lookup error: /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b
Expected behaviour: Program starts without errors.
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by xnview »

could you tell me if the TGZ works?
Pierre.
wgc214
Posts: 10
Joined: Thu Sep 20, 2018 4:25 pm

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by wgc214 »

I am having the exact same problem with 0.97.0 and Fedora 32. The TGZ file extracts as expected, but xnview.sh fails with the error noted. XnView will not start.

Thanks for your help, Pierre.
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by xnview »

Please check the AppImage for 0.97.1 when available
Pierre.
wgc214
Posts: 10
Joined: Thu Sep 20, 2018 4:25 pm

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by wgc214 »

Exact same error with 0.97.1

./xnview.sh
XnView: symbol lookup error: /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by xnview »

with TGZ package, remove lib/libcrypto
Pierre.
wgc214
Posts: 10
Joined: Thu Sep 20, 2018 4:25 pm

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by wgc214 »

Thank you Pierre! That worked perfectly.
joshas
Posts: 8
Joined: Sat Feb 08, 2020 10:11 am

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by joshas »

0.97.1 AppImage doesn't work with a bit different error message:

Code: Select all

/tmp/.mount_XnView8YbnPR/usr/XnView/XnView: symbol lookup error: /lib64/libkrb5.so.3: undefined symbol: krb5int_push_fscreatecon_for, version krb5support_0_MIT
0.97.1 TGZ 64-bit also doesn't work, even after removing lib/libcrypto libraries:

Code: Select all

XnViewMP-linux-x64/XnView/XnView: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by xnview »

joshas wrote: Tue Oct 20, 2020 6:07 pm 0.97.1 TGZ 64-bit also doesn't work, even after removing lib/libcrypto libraries:

Code: Select all

XnViewMP-linux-x64/XnView/XnView: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
you need to install libz2
Pierre.
wwp
Posts: 46
Joined: Sun Jan 03, 2016 2:37 pm
Location: Montpellier/France

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by wwp »

xnview wrote: Sun Oct 25, 2020 12:40 pm
joshas wrote: Tue Oct 20, 2020 6:07 pm 0.97.1 TGZ 64-bit also doesn't work, even after removing lib/libcrypto libraries:

Code: Select all

XnViewMP-linux-x64/XnView/XnView: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
you need to install libz2
Definitely not.
It's the same on fedora 32+ and CentOS 7, libbz2 is already there, but you need to create this symlink over XnView install:
/opt/XnView/lib/libbz2.so.1.0 -> /usr/lib64/libbz2.so.1
(/opt or /usr/local, of course)
User097
Posts: 4
Joined: Wed Sep 08, 2021 9:16 am

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by User097 »

Fedora 34, GNOME on Wayland

Appimage:
/tmp/.mount_XnViewOsETDR/usr/XnView/XnView: symbol lookup error: /lib64/libkrb5.so.3: undefined symbol: krb5int_push_fscreatecon_for, version krb5support_0_MIT

TGZ:
/home/work/Software/XnView/XnView: /lib64/libQt5Network.so.5: version `Qt_5_PRIVATE_API' not found (required by /home/work/Software/XnView/XnView)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Gui.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5MultimediaWidgets.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Core.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5PrintSupport.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Gui.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5PrintSupport.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Widgets.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5PrintSupport.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Core.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5Multimedia.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Core.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5Network.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Core.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5Xml.so.5)
/home/work/Software/XnView/XnView: /lib64/libQt5Quick.so.5: version `Qt_5_PRIVATE_API' not found (required by /home/work/Software/XnView/lib/libQt5WebKit.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Core.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5Positioning.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5QmlModels.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5Quick.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Qml.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5Quick.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Gui.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5Quick.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Core.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5Quick.so.5)
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Core.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5Sql.so.5)
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by xnview »

please check this topic
Pierre.
User097
Posts: 4
Joined: Wed Sep 08, 2021 9:16 am

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by User097 »

$ cd /home/work/Software/XnView/
$ rm lib/libcrypto.so*
rm: невозможно удалить 'lib/libcrypto.so*': No such file or directory
$ sudo ln -s /lib64/libbz2.so.1 lib/libbz2.so.1.0
ln: не удалось создать символьную ссылку 'lib/libbz2.so.1.0': File already exists

$ sh xnview.sh
/home/work/Software/XnView/XnView: /lib64/libQt5Network.so.5: version `Qt_5_PRIVATE_API' not found (required by /home/work/Software/XnView/XnView)
...
/home/work/Software/XnView/XnView: /home/work/Software/XnView/lib/libQt5Core.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5Sql.so.5)
User avatar
xnview
Author of XnView
Posts: 37889
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by xnview »

what do you have in lib folder?
Pierre.
User097
Posts: 4
Joined: Wed Sep 08, 2021 9:16 am

Re: 0.97.0: AppImage doesn't work on Fedora 32

Post by User097 »

[work@fedorawork lib]$ ls -lh
итого 119M
drwxr-xr-x. 2 work work 4,0K сен 3 10:00 audio
drwxr-xr-x. 2 work work 4,0K сен 3 10:00 generic
drwxr-xr-x. 2 work work 4,0K сен 3 10:00 imageformats
-rw-r--r--. 1 work work 5,7M мая 31 12:54 libavcodec.so.58
-rw-r--r--. 1 work work 70K мая 31 12:54 libavdevice.so.58
-rw-r--r--. 1 work work 345K мая 31 12:54 libavfilter.so.7
-rw-r--r--. 1 work work 1,2M мая 31 12:54 libavformat.so.58
-rw-r--r--. 1 work work 303K мая 31 12:54 libavutil.so.56
lrwxrwxrwx. 1 work work 26 сен 3 11:25 libbz2.so.1.0 -> /usr/lib64/libbz2.so.1.0.8
-rw-r--r--. 1 work work 459K мая 31 12:54 libdbus-1.so
lrwxrwxrwx. 1 work work 18 сен 3 10:00 libicudata.so -> libicudata.so.56.1
-rwxrwxrwx. 1 work work 24M апр 20 2020 libicudata.so.56
lrwxrwxrwx. 1 work work 18 сен 3 10:00 libicui18n.so -> libicui18n.so.56.1
lrwxrwxrwx. 1 work work 18 сен 3 10:00 libicui18n.so.56 -> libicui18n.so.56.1
-rwxrwxrwx. 1 work work 3,3M апр 20 2020 libicui18n.so.56.1
lrwxrwxrwx. 1 work work 16 сен 3 10:00 libicuio.so.56 -> libicuio.so.56.1
-rw-r--r--. 1 work work 70K мая 31 12:54 libicuio.so.56.1
lrwxrwxrwx. 1 work work 16 сен 3 10:00 libicule.so -> libicule.so.56.1
lrwxrwxrwx. 1 work work 16 сен 3 10:00 libicule.so.56 -> libicule.so.56.1
lrwxrwxrwx. 1 work work 16 сен 3 10:00 libiculx.so -> libiculx.so.56.1
lrwxrwxrwx. 1 work work 16 сен 3 10:00 libiculx.so.56 -> libiculx.so.56.1
-rwxrwxrwx. 1 work work 65K апр 20 2020 libiculx.so.56.1
lrwxrwxrwx. 1 work work 18 сен 3 10:00 libicutest.so -> libicutest.so.56.1
lrwxrwxrwx. 1 work work 18 сен 3 10:00 libicutest.so.56 -> libicutest.so.56.1
-rw-r--r--. 1 work work 105K мая 31 12:54 libicutest.so.56.1
lrwxrwxrwx. 1 work work 16 сен 3 10:00 libicutu.so.56 -> libicutu.so.56.1
-rwxrwxrwx. 1 work work 249K апр 20 2020 libicutu.so.56.1
lrwxrwxrwx. 1 work work 16 сен 3 10:00 libicuuc.so -> libicuuc.so.56.1
lrwxrwxrwx. 1 work work 16 сен 3 10:00 libicuuc.so.56 -> libicuuc.so.56.1
-rwxrwxrwx. 1 work work 2,0M апр 20 2020 libicuuc.so.56.1
-rw-r--r--. 1 work work 37K мая 31 12:54 libQt5Concurrent.so.5.15.1
lrwxrwxrwx. 1 work work 20 сен 3 10:00 libQt5Core.so.5 -> libQt5Core.so.5.15.1
-rwxrwxrwx. 1 work work 6,8M мая 31 12:54 libQt5Core.so.5.15.1
lrwxrwxrwx. 1 work work 20 сен 3 10:00 libQt5DBus.so.5 -> libQt5DBus.so.5.15.1
lrwxrwxrwx. 1 work work 19 сен 3 10:00 libQt5Gui.so.5 -> libQt5Gui.so.5.15.1
-rw-r--r--. 1 work work 8,4M мая 31 12:54 libQt5Gui.so.5.15.1
-rw-r--r--. 1 work work 1,4M мая 31 12:54 libQt5Multimedia.so.5.15.1
-rw-r--r--. 1 work work 169K мая 31 12:54 libQt5MultimediaWidgets.so.5.15.1
lrwxrwxrwx. 1 work work 23 сен 3 10:00 libQt5Network.so.5 -> libQt5Network.so.5.15.1
lrwxrwxrwx. 1 work work 22 сен 3 10:00 libQt5OpenGL.so.5 -> libQt5OpenGL.so.5.15.1
-rw-r--r--. 1 work work 457K мая 31 12:54 libQt5OpenGL.so.5.15.1
-rw-r--r--. 1 work work 809K мая 31 12:54 libQt5Positioning.so.5.15.1
-rw-r--r--. 1 work work 590K мая 31 12:54 libQt5PrintSupport.so.5.15.1
lrwxrwxrwx. 1 work work 25 сен 3 10:00 libQt5QmlModels.so.5 -> libQt5QmlModels.so.5.15.1
-rw-r--r--. 1 work work 695K мая 31 12:54 libQt5QmlModels.so.5.15.1
lrwxrwxrwx. 1 work work 19 сен 3 10:00 libQt5Qml.so.5 -> libQt5Qml.so.5.15.1
-rwxrwxrwx. 1 work work 5,6M мая 31 12:54 libQt5Qml.so.5.15.1
lrwxrwxrwx. 1 work work 21 сен 3 10:00 libQt5Quick.so.5 -> libQt5Quick.so.5.15.1
lrwxrwxrwx. 1 work work 23 сен 3 10:00 libQt5Sensors.so.5 -> libQt5Sensors.so.5.15.1
-rw-r--r--. 1 work work 343K мая 31 12:54 libQt5Sensors.so.5.15.1
lrwxrwxrwx. 1 work work 19 сен 3 10:00 libQt5Sql.so.5 -> libQt5Sql.so.5.15.1
lrwxrwxrwx. 1 work work 19 сен 3 10:00 libQt5Svg.so.5 -> libQt5Svg.so.5.15.1
-rwxrwxrwx. 1 work work 438K мая 31 12:54 libQt5Svg.so.5.15.1
lrwxrwxrwx. 1 work work 26 сен 3 10:00 libQt5WebChannel.so.5 -> libQt5WebChannel.so.5.15.1
-rwxrwxrwx. 1 work work 194K мая 31 12:54 libQt5WebChannel.so.5.15.1
lrwxrwxrwx. 1 work work 21 сен 3 10:00 libQt5WebKit.so.5 -> libQt5WebKit.so.5.9.0
-rwxrwxrwx. 1 work work 45M мая 31 12:54 libQt5WebKit.so.5.9.0
lrwxrwxrwx. 1 work work 28 сен 3 10:00 libQt5WebKitWidgets.so.5 -> libQt5WebKitWidgets.so.5.9.0
-rw-r--r--. 1 work work 396K мая 31 12:54 libQt5WebKitWidgets.so.5.9.0
lrwxrwxrwx. 1 work work 23 сен 3 10:00 libQt5Widgets.so.5 -> libQt5Widgets.so.5.15.1
-rw-r--r--. 1 work work 7,8M мая 31 12:54 libQt5Widgets.so.5.15.1
lrwxrwxrwx. 1 work work 25 сен 3 10:00 libQt5X11Extras.so.5 -> libQt5X11Extras.so.5.15.1
-rw-r--r--. 1 work work 24K мая 31 12:54 libQt5X11Extras.so.5.15.1
-rw-r--r--. 1 work work 384K сен 3 10:00 libQt5XcbQpa.so.5.15.1
lrwxrwxrwx. 1 work work 19 сен 3 10:00 libQt5Xml.so.5 -> libQt5Xml.so.5.15.1
lrwxrwxrwx. 1 work work 17 сен 3 10:00 libQtAV.so.1 -> libQtAV.so.1.13.0
-rw-r--r--. 1 work work 2,2M мая 31 12:54 libQtAV.so.1.13.0
lrwxrwxrwx. 1 work work 24 сен 3 10:00 libQtAVWidgets.so.1 -> libQtAVWidgets.so.1.13.0
-rw-r--r--. 1 work work 103K мая 31 12:54 libswresample.so.3
-rw-r--r--. 1 work work 443K мая 31 12:54 libswscale.so.5
-rw-r--r--. 1 work work 11K мая 31 12:54 libva-drm.so.1
lrwxrwxrwx. 1 work work 28 сен 3 11:19 libva.so.1 -> /usr/lib64/libva.so.2.1100.0
lrwxrwxrwx. 1 work work 33 сен 3 11:26 libva-x11.so.1 -> //usr/lib64/libva-x11.so.2.1100.0
drwxr-xr-x. 2 work work 4,0K сен 3 10:00 mediaservice
drwxr-xr-x. 2 work work 4,0K сен 3 10:00 platforms
drwxr-xr-x. 2 work work 4,0K сен 3 10:00 platformthemes
drwxr-xr-x. 2 work work 4,0K сен 3 10:00 printsupport
drwxr-xr-x. 2 work work 4,0K сен 3 10:00 sensors
drwxr-xr-x. 2 work work 4,0K сен 3 09:59 styles