Fedora 35: Appimage doesn't run

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

fbachofner
Posts: 26
Joined: Tue Feb 19, 2008 4:28 am
Location: California

Fedora 35: Appimage doesn't run

Post by fbachofner »

I am trying to run XnViewMP from your Appimage on Fedora 35.

I downloaded XnView_MP.glibc2.18-x86_64.AppImage and it will not run, in spite of having execute privileges.

When running from terminal to assess I get

Code: Select all

/tmp/.mount_XnViewdr7VSf/usr/XnView/XnView: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
------------------------------------
XnView MP and XNView 2.x
on a variety of Linux machines
(and a couple Windows boxes)
User avatar
xnview
Author of XnView
Posts: 38714
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Appimage fails on Fedora 35

Post by xnview »

it seems that you have to install libnsl
Pierre.
wisnoskij
Posts: 5
Joined: Sun Mar 07, 2021 4:44 pm

Re: Appimage fails on Fedora 35

Post by wisnoskij »

I have the exact same error. But my package manager says I would need to uninstall a bunch of stuff to install libnsl. Looking at it, they look like really importation key system files, and libnsl seems to be some legacy library. So I sort of assume I would either break or degrade my system if I swapped the 2.
wisnoskij
Posts: 5
Joined: Sun Mar 07, 2021 4:44 pm

Re: Appimage fails on Fedora 35

Post by wisnoskij »

Ah, I found an flatpack which must just include libnsl because it runs on my system without any tinkering.
fbachofner
Posts: 26
Joined: Tue Feb 19, 2008 4:28 am
Location: California

Re: Appimage fails on Fedora 35

Post by fbachofner »

Hi Pierre:
xnview wrote: Fri Apr 01, 2022 9:06 am it seems that you have to install libnsl
AppImages are supposed to be self contained, right?

Today I tried again with the newest XnView 1.3 AppImage on a newly installed Fedora 37 (beta) machine, available at https://download.xnview.com/XnView_MP.g ... 4.AppImage

This too presented the error. I am able to make it work by installing libnsl as you suggested, but I fear you are going to lose a LOT of interested parties who will not know how to get past the error, nor how to get involved in a forum.

Friction = loss of clients.
------------------------------------
XnView MP and XNView 2.x
on a variety of Linux machines
(and a couple Windows boxes)
fbachofner
Posts: 26
Joined: Tue Feb 19, 2008 4:28 am
Location: California

Re: Appimage fails on Fedora 35

Post by fbachofner »

Hi @wisnoskij
wisnoskij wrote: Tue Apr 19, 2022 1:46 pm Ah, I found an flatpack which must just include libnsl because it runs on my system without any tinkering.
Unfortunately, a day or two ago the latest flapak exposed in the Software manager in Fedora (i.e. Gnome-Software) showed only XnView MP 1.01 .

Just before writing this post I noticed it is now showing 1.3 (which was released a month ago).

The Flatpak seems to lag behind the software's official release cadence.
------------------------------------
XnView MP and XNView 2.x
on a variety of Linux machines
(and a couple Windows boxes)
fbachofner
Posts: 26
Joined: Tue Feb 19, 2008 4:28 am
Location: California

Re: Appimage fails on Fedora 35

Post by fbachofner »

fbachofner wrote: Mon Oct 03, 2022 11:57 pm The Flatpak seems to lag behind the software's official release cadence.
And I should have mentioned, mahy people have problems with various Flatpak system integrations and permissions.

Not everyone knows about Flatseal, for example.


It would be great if XnView offered a (current) repo or at least an RPM download for Fedora-based distros.

Fedora is getting hotter and hotter with people progressively disappointed with Snaps in the Ubuntu-sphere!
------------------------------------
XnView MP and XNView 2.x
on a variety of Linux machines
(and a couple Windows boxes)
wisnoskij
Posts: 5
Joined: Sun Mar 07, 2021 4:44 pm

Re: Fedora 35: Appimage doesn't run

Post by wisnoskij »

I don't really disagree, but everything is really going towards flatpaks. Fedora installs many by default. It is completely acceptable to just offer a flatpak, and is more than most windows programs get.