Open snelweg opened 2 years ago
@realthunder this is the known issue with AppImage bundling deprecated libstdc++.so.6
Hey @looooo what's the packaging fix (to avoid using the workaround) ~workaround~ we use on upstream appimage for this?
I guess conda-forge updated the libraries which allow to use newer glibc version. I did not do anything in this regard :). There is also the other workaround, which I would like to add one day. (Can't find issue right now)
@Realthunder are you using the latest condaforge libs ?
After changing from mint 20 to mint 21 The older versions of FreeCAD linkstage could not be launched. The last version, Appimage 09-07-2022 can start, but the start page is blank. You know, there are many works made with older versions that may cause errors in newer version. So I keep older versions of Freecad to be able to open, eventually, my old files.
OS: Linux Mint 21 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 2022.709.26244 +5001 (Git) AppImage
Build type: Release
Branch: LinkDaily
Hash: 096210d21183e9dfdc3b25777760bfb6c00a210b
Python version: 3.9.13
Qt version: 5.12.9
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United States (en_US)
Hello Everyone, I have a similar trouble with the Linux Mint 21.1 Cinnamon. I'm studing python and I programming on visual studio code operated from Anaconda. It works almost completely, but when I launch a program with graphics, on the terminal appear these errors:
libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: impossibile aprire il file oggetto condiviso: File o directory non esistente (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: crocus libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: impossibile aprire il file oggetto condiviso: File o directory non esistente (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: crocus libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: impossibile aprire il file oggetto condiviso: File o directory non esistente (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: swrast
can someone suggest to me how to arreglate this issue? Is related to my Radeon Video card? Thank you very much for your help!!! DEREK
@Derek19168284 did you solve it?
$ python game.py
pygame 2.3.0 (SDL 2.24.2, Python 3.10.8)
Hello from the pygame community. https://www.pygame.org/contribute.html
3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0]
libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_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: crocus
libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_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: crocus
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
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 213
Current serial number in output stream: 214
After updating my system no AppImage old or new starts up. I use AppImage weekly-builds.
$ cat /etc/debian_version
trixie/sid
$ uname -a
Linux programator-2 6.4.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.4.4-2 (2023-07-30) x86_64 GNU/Linux
After doing a few steps I get errors in the console:
$ ./FreeCAD_weekly-builds-33719-2023-08-06-conda-Linux-x86_64-py310.AppImage
FreeCAD 0.22.0, Libs: 0.22.0devR33719 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
Sheet Metal workbench loaded
libGL error: MESA-LOADER: failed to open crocus: /tmp/.mount_FreeCAhgE0x2/usr/bin/../lib/libstdc++.so.6: version GLIBCXX_3.4.32 not found (required by /lib/x86_64-linux-gnu/libLLVM-15.so.1) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: crocus
libGL error: MESA-LOADER: failed to open crocus: /tmp/.mount_FreeCAhgE0x2/usr/bin/../lib/libstdc++.so.6: version GLIBCXX_3.4.32 not found (required by /lib/x86_64-linux-gnu/libLLVM-15.so.1) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: crocus
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_FreeCAhgE0x2/usr/bin/../lib/libstdc++.so.6: version GLIBCXX_3.4.32 not found (required by /lib/x86_64-linux-gnu/libLLVM-15.so.1) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
/tmp/.mount_FreeCAhgE0x2/AppRun: linia 43: 6336 Przerwane (zrzut pamięci) ${MAIN} "$@"
Use the following to check support for GLIBCXX_3.4.32 and renew linking.
$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
$ ls -la /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Before I did the following linking in my system, the error messages looked completely different.
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0032 /usr/lib/dri/
ln -s /usr/lib/x86_64-linux-gnu/dri /usr/lib/
FreeCAD_weekly-builds-33774-2023-08-10-conda-Linux-x86_64-py310.AppImage
there are still problems running AppImage If the solution is known and it relies on replacing one library file (libstdc++.so.6) why has it not been implemented to life? :sob:
FreeCAD_weekly-builds-33798-2023-08-13-conda-Linux-x86_64-py310.AppImage
there are still problems running AppImage
A second convenient workaround to a problem that still exists: https://forum.freecad.org/viewtopic.php?style=4&p=700883#p700883
Works in 'official' AppImages, only the LinkStage3 appimages do not work on my machine. I am using Debian SID because I need to use LinuxCNC on this machine.
Fix is here:
https://forum.manjaro.org/t/many-appimages-have-stopped-working-after-todays-update/69445/20