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

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

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

Post by paullee »

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.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

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

Post by looo »

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.
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

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

Post by paullee »

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.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

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

Post by looo »

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.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

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

Post by triplus »

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
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

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

Post by paullee »

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 3203 times
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

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

Post by looo »

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...
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

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

Post by paullee »

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 3147 times
Screenshot from 2019-05-04 22-17-02.png
Screenshot from 2019-05-04 22-17-02.png (47.4 KiB) Viewed 3147 times
User avatar
NormandC
Veteran
Posts: 18587
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

Post by NormandC »

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
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

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

Post by looo »

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...
Post Reply