[Solved] AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
paullee
Posts: 1753
Joined: Wed May 04, 2016 3:58 pm

[Solved] AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Postby paullee » Thu May 02, 2019 10:56 pm

Hi, trying to see if patch was applied and bug fixed in latest 0.19_pre and find the captioned

Code: Select all

[paullee@localhost Temp_Download]$ ./FreeCAD_0.19
FreeCAD_0.19.16291_Conda_Py3Qt5_glibc2.12-x86_64.AppImage        FreeCAD_0.19-16502-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage
FreeCAD_0.19-16475-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage  FreeCAD_0.19-16540-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage


[paullee@localhost Temp_Download]$ ./FreeCAD_0.19-16475-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage 
/tmp/.mount_FreeCAarcUwb
/tmp/.mount_FreeCAarcUwb/usr/bin/FreeCAD: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

[paullee@localhost Temp_Download]$ ./FreeCAD_0.19-16502-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage 
/tmp/.mount_FreeCA0GG8Jb
/tmp/.mount_FreeCA0GG8Jb/usr/bin/FreeCAD: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

[paullee@localhost Temp_Download]$ ./FreeCAD_0.19-16540-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage 
/tmp/.mount_FreeCAQZDRvN
/tmp/.mount_FreeCAQZDRvN/usr/bin/FreeCAD: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
[paullee@localhost Temp_Download]$ 
Last edited by paullee on Sat May 04, 2019 12:56 am, edited 1 time in total.
looo
Posts: 2913
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Postby looo » Fri May 03, 2019 4:54 am

It would be nice if anyone fedora-user seeing this problem can test if the same is happening with freecad installed via conda. Else we can't do much about it.
please help with my conda-packaging efforts: https://liberapay.com/looooo/
paullee
Posts: 1753
Joined: Wed May 04, 2016 3:58 pm

Re: AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Postby paullee » Fri May 03, 2019 3:25 pm

Hmmm, anything I can do to help debugging?

The 'native' 0.18 Fedora package has oce which I found problematic and I had turned to AppImage for quite sometime (despite some other fallback I had not had time to overcome) to run FC. Would have no alternative if AppImage no longer run.

Thanks.
looo
Posts: 2913
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Postby looo » Fri May 03, 2019 7:21 pm

This seems to be a new system dependency (py37 / new-toolchain) (although it is also shipped within the bundle.)

Maybe you can try to install the corresponding library. For ubuntu it's included in the package libc.
please help with my conda-packaging efforts: https://liberapay.com/looooo/
triplus
Posts: 8748
Joined: Mon Dec 12, 2011 4:45 pm

Re: AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Postby triplus » Fri May 03, 2019 9:01 pm

Hi @paullee

Fedora 28 and up decided to not provide libnsl by default anymore. You should be able to resolve your problem by installing:

Code: Select all

sudo dnf install libnsl
P.S. We could add a note for Fedora users or try bundling libnsl in the AppImage in the future.
paullee
Posts: 1753
Joined: Wed May 04, 2016 3:58 pm

Re: AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Postby paullee » Sat May 04, 2019 12:56 am

triplus wrote:
Fri May 03, 2019 9:01 pm
Hi @paullee

Fedora 28 and up decided to not provide libnsl by default anymore. You should be able to resolve your problem by installing:

Code: Select all

sudo dnf install libnsl
P.S. We could add a note for Fedora users or try bundling libnsl in the AppImage in the future.
Oh Thanks @Triplus

Very basic problem and solution indeed!

Not thought of it is an 'external library' missing - Long time not trying to maintain a linux system (still running a Scientific Linux 6.x for no use) that lost the sense of searching external library dependency :oops:

And FC runs!

... though the interface becomes slightly uglier ? :)

Screenshot from 2019-05-04 08-49-25.png
Screenshot from 2019-05-04 08-49-25.png (175.58 KiB) Viewed 575 times
looo
Posts: 2913
Joined: Mon Nov 11, 2013 5:29 pm

Re: [Solved] AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Postby looo » Sat May 04, 2019 7:19 am

triplus wrote:
Fri May 03, 2019 9:01 pm
P.S. We could add a note for Fedora users or try bundling libnsl in the AppImage in the future.
Actually it's bundled in the 0.19 appimages, but not used...
please help with my conda-packaging efforts: https://liberapay.com/looooo/
paullee
Posts: 1753
Joined: Wed May 04, 2016 3:58 pm

Re: [Solved] AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Postby paullee » Sat May 04, 2019 2:26 pm

looo wrote:
Sat May 04, 2019 7:19 am
triplus wrote:
Fri May 03, 2019 9:01 pm
P.S. We could add a note for Fedora users or try bundling libnsl in the AppImage in the future.
Actually it's bundled in the 0.19 appimages, but not used...
Seems more problems though it runs.... it can't find the IfcOpenShell previous AppImage can :(

And dialog boxes do look old-fashioned.
Screenshot from 2019-05-04 22-19-01.png
Screenshot from 2019-05-04 22-19-01.png (46.34 KiB) Viewed 519 times
Screenshot from 2019-05-04 22-17-02.png
Screenshot from 2019-05-04 22-17-02.png (47.4 KiB) Viewed 519 times
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Postby NormandC » Sat May 04, 2019 4:26 pm

paullee wrote:
Fri May 03, 2019 3:25 pm
The 'native' 0.18 Fedora package has oce which I found problematic and I had turned to AppImage for quite sometime (despite some other fallback I had not had time to overcome) to run FC. Would have no alternative if AppImage no longer run.
FreeCAD 0.18.1 is provided as a flatpak. It runs well on Ubuntu, as I assume it would on fedora. I don't use IfcOpenShell though.

https://forum.freecadweb.org/viewtopic.php?f=10&t=30368
https://flathub.org/apps/details/org.freecadweb.FreeCAD
looo
Posts: 2913
Joined: Mon Nov 11, 2013 5:29 pm

Re: [Solved] AppImage after 0.19_pre 16291 - - No longer run in Fedora 29

Postby looo » Sat May 04, 2019 5:18 pm

There are also other interested in an compatible ifc library for conda-forge. Maybe you can try to create a staged-recipe for this library:
https://conda-forge.org/docs/maintainer ... or-recipes
https://github.com/IfcOpenShell/IfcOpen ... .6.0/conda

If more people would work on conda-packages for freecad this would be a nice cross platform solution...
please help with my conda-packaging efforts: https://liberapay.com/looooo/