Appimage problems in Fedora 34

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
dprojects
Posts: 721
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Re: Appimage problems in Fedora 34

Post by dprojects »

xuewenbao wrote: Wed Jun 16, 2021 7:36 am ./FreeCAD_weekly-builds-24910-Linux-Conda_glibc2.12-x86_64.AppImage --appimage-extract
it generated a folder squashfs-root, delete usr/lib/libstdc++.so.6 and usr/lib/libstdc++.so in its sub folder
then regenerated appimage from this folder by using
./appimagetool-x86_64.AppImage squashfs-root
Just to let you know, I have already installed Ubuntu 22.04 on Asus X55U and I had the same problem.

Code: Select all

libGL error: MESA-LOADER: failed to open r600: /usr/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
/tmp/.mount_FreeCATR3JTq/AppRun: line 42:  2101 Aborted                 (core dumped) ${MAIN} "$@"
However, the unpacking and removing fixed the problem.

Info for appimage:

Code: Select all

OS: Ubuntu 22.04 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28730 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 966301d)
Hash: 966301d58c59e4b50a1203c834ce06b9ab8de75e
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * Woodworking
Also the natively installed freecad starting but during using freecad there are many errors, draft, loading files, macros, info for native installation:

Code: Select all

OS: Ubuntu 22.04 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.10.2
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
wsy
Posts: 3
Joined: Fri May 17, 2019 4:53 pm

Re: Appimage problems in Fedora 34

Post by wsy »

the fix also fixed the problem for me, on both the release and weekly build AppImages.
I'm on an up-to-date Debian Testing.

Thanks, xuewenbao ! :)
Post Reply