Many AppImages have stopped working after today's update :/

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`

FreeCAD is not working anymore:

FreeCAD 0.20, Libs: 0.20R25025 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

libGL error: MESA-LOADER: failed to open r600: /tmp/.mount_freecallSEeP/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/r600_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open r600: /tmp/.mount_freecallSEeP/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/r600_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_freecallSEeP/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_freecallSEeP/AppRun: Zeile 41: 52137 Abgebrochen             (Speicherabzug geschrieben) ${MAIN} "$@"
[uli@Libra ~]$ 

1 Like

Hi,
Same problem since the last update:

[eric@eric-pc ~]$ freecad_0.19
FreeCAD 0.19, Libs: 0.19R24291 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn’t be possible without FreeCAD community.

#### ###

# # # #

## #### #### # # # #

# # # # # # # ##### #

# #### #### # # # #

# # # # # # # # ## ##

# #### #### ### # # #### ## ##

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} “$@”

1 Like

I’ve starting using Freecad from the official repo :confused:

I miss the wildthunder’s link branch.

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

1 Like

Perfect. works for me also!Thanks for the hint!

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 :confused:

Okay this is now a serious problem. I can’t use Freecad unless I downgrade mesa but if I downgrade mesa, my desktop environment doesn’t start.

I would love to complain to Freecad about this issue but Manjaro is culprit here. Where do I report this issue?

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.

Have you tried the git version?

https://aur.archlinux.org/packages/freecad-appimage-git

it’s FreeCAD’s main branch, I use FreeCAD LinkStage3 branch.
For your information, FreeCAD main branch working fine.

I just built and installed from the link you posted: it doesn’t work, just like the others. All Freecad appimages have been affected it seems.

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

1 Like

It looks like it’s using the wrong files for libstdc++.

Pointing it to the correct library as below made it work for me:

LD_PRELOAD=/usr/lib/libstdc++.so ./FreeCAD_0.19-24291-Linux-Conda_glibc2.12-x86_64.AppImage

Make an alias or run an export for LD_PRELOAD=/usr/lib/libstdc++.so in a startup script for convenience until it gets fixed if you’d like.


Possibly related:

pixinsight . com/forum/index.php?threads/archlinux-glibcxx_3-4-29.16603/

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.

Thanks to the link @WC-CA posted, I discovered a solution.

  1. Download the appimagetool.

  2. ./appImageYouWantToFix --appimage-extract

  3. A new folder will be created. Navigate to newlycreatedfolder/usr/lib and delete libstdc++.so.6.

  4. cp /lib/libstdc++.so.6 /path/to/newlycreatedfolder/usr/lib/libstdc++.so.6

  5. You can now navigate to newlycreatedfolder and execute AppRun and your appimage should work, it did in my case.

  6. [Optional] Recompile the appimage by ./appimagetool-x86_64.AppImage -v ./newlycreatefolder.

That solved my problem. Hopefully it will work for everyone.

2 Likes

Greetings,

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.

AT

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.

This worked great for me. Thank you WC-CA and bassamanator!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.