I’m having a similar issue.
After I update my system I can’t open any FreeCAD AppImage. (lbry tv AppImage working fine tho)
Here is terminal output.
/home/mozammel/Applications/FreeCAD-asm3-Stable-Conda-Py3-Qt5-20210528-glibc2.12-x86_64_76b15da2b46a54d103a358223191e341.AppImage ✔
/tmp/.mount_FreeCAlxWEsW
FreeCAD 0.19, Libs: 2021.528R24301 +3572 (Git)
Sheet Metal workbench loaded
Assembly4 workbench loaded
libGL error: MESA-LOADER: failed to open iris: /tmp/.mount_FreeCAlxWEsW/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.
so) (search paths /usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /tmp/.mount_FreeCAlxWEsW/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.
so) (search paths /usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_FreeCAlxWEsW/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_
dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: swrast
which: no openscad in (/tmp/.mount_FreeCAlxWEsW/usr/bin:/tmp/.mount_FreeCAlxWEsW/usr/Mod/AddonManager:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Arch:/tmp/.mount_FreeCAlxWEsW/usr/Mod/
Draft:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Drawing:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Fem:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Idf:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Image:/tmp/.mount_F
reeCAlxWEsW/usr/Mod/Import:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Inspection:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Material:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Measure:/tmp/.mount_FreeCAl
xWEsW/usr/Mod/Mesh:/tmp/.mount_FreeCAlxWEsW/usr/Mod/MeshPart:/tmp/.mount_FreeCAlxWEsW/usr/Mod/OpenSCAD:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Part:/tmp/.mount_FreeCAlxWEsW/usr/Mod
/PartDesign:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Path:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Points:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Raytracing:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Revers
eEngineering:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Robot:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Show:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Sketcher:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Spreadsh
eet:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Start:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Surface:/tmp/.mount_FreeCAlxWEsW/usr/Mod/TechDraw:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Test:/tmp/.mou
nt_FreeCAlxWEsW/usr/Mod/Tux:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Web:/tmp/.mount_FreeCAlxWEsW/usr/Mod/appimage_updater:/tmp/.mount_FreeCAlxWEsW/usr/Mod/asm3:/home/mozammel/.Free
CAD/Mod/A2plus:/home/mozammel/.FreeCAD/Mod/frame:/home/mozammel/.FreeCAD/Mod/Reinforcement:/home/mozammel/.FreeCAD/Mod/fcgear:/home/mozammel/.FreeCAD/Mod/BIM:/home/mozammel/
.FreeCAD/Mod/ose-piping:/home/mozammel/.FreeCAD/Mod/parts_library:/home/mozammel/.FreeCAD/Mod/sheetmetal:/home/mozammel/.FreeCAD/Mod/Render:/home/mozammel/.FreeCAD/Mod/BOLTS
FC:/home/mozammel/.FreeCAD/Mod/Reporting:/home/mozammel/.FreeCAD/Mod/fasteners:/home/mozammel/.FreeCAD/Mod/ExplodedAssembly:/home/mozammel/.FreeCAD/Mod/ArchTextures:/home/mo
zammel/.FreeCAD/Mod/PieMenu:/home/mozammel/.FreeCAD/Mod/WebTools:/home/mozammel/.FreeCAD/Mod/DesignSPHysics:/home/mozammel/.FreeCAD/Mod/dodo:/home/mozammel/.FreeCAD/Mod/Asse
mbly4:/home/mozammel/.FreeCAD/Mod/Curves:/tmp/.mount_FreeCAlxWEsW/usr/bin:/home/mozammel/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_co
mpute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
/tmp/.mount_FreeCAlxWEsW/AppRun: line 46: 24823 Aborted (core dumped) "$PREFIX/bin/$name" "$@"`Preformatted text`
libGL error: MESA-LOADER: failed to open radeonsi: /tmp/.mount_freecaZQ0VMf/usr/bin/…/lib/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri) libGL error: failed to load driver: radeonsi libGL error: MESA-LOADER: failed to open radeonsi: /tmp/.mount_freecaZQ0VMf/usr/bin/../lib/libstdc++.so.6: version GLIBCXX_3.4.29’ not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_freecaZQ0VMf/usr/bin/…/lib/libstdc++.so.6: version `GLIBCXX_3.4.29’ not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: swrast
/tmp/.mount_freecaZQ0VMf/AppRun : ligne 41 : 18419 Abandon (core dumped)${MAIN} “$@”
I did able to open FreeCAD, workaround is to downgrate “mesa” driver for me. use “downgrade” command to downgrade mesa 21.1.0 to 21.0.3 $sudo downgrade mesa
Just be careful because after today’s update, my computer was booting only to terminal; the desktop wasn’t working. I had to upgrade mesa to get it working again.
Also, my vlc has stopped working because of the mesa downgrade
Just current update broke my system again, now I can’t downgrade to that version which works, because it’s not appearing on the list.
I don’t see manjaro forum moderator noticing this issue. So what you can do, just share more so devs notice it.
If you are using Hybrid Intel-Nvidia card then it may use $ prime-run /home/mozammel/Applications/FreeCAD-asm3-Stable-Conda-Py3-Qt5-20210528-glibc2.12-x86_64_76b15da2b46a54d103a358223191e341.AppImage
The solution suggested there is to delete libstdc++.so.6, presumably forcing the program in question to fall back on the correct library.
The error message I got here also says (search paths /usr/lib/dri), and ../lib/libstdc++.so.6 potentially relative to a file in /usr/lib/dri/ though, so another course I’d investigate is whether it might be looking in the wrong places for libraries or something.
Either way, explicitly pointing to the correct library with the command I posted above seems to have fixed it for me.
Thanks for posting this but it didn’t work for me.
I did export LD_PRELOAD=/usr/lib/libstdc++.so', then ./FreeCAD-asm3-Stable-Conda-Py3-Qt5-20210528-glibc2.12-x86_64_76b15da2b46a54d103a358223191e341.AppImage`. Also tried with the newer version of the link branch but that also didn’t work.
FreeCAD working with “prime-run”.
For others that don’t have Nvidia cards, there has to be an easier way rather than repackaging the image. Perhaps an image update is in order.
At least there is always a work around. Prime-run isn’t looking too bad actually. Seems smoother, I might keep it this way.
Either way, thanks for the heads up on running the image under prime.
Cheers.
Repacking isn’t bad actually and isn’t necessary as I mentioned in my previous post. Just extract the appimage and replace libstdc++.so.6 with the correct one.