[SOLVED] Execution recently fails for git-build and Appimage (Arch)

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
qurn
Posts: 51
Joined: Wed Oct 10, 2018 4:49 pm

[SOLVED] Execution recently fails for git-build and Appimage (Arch)

Post by qurn »

FreeCad is not starting aymore. Affected are the git-build and the stable Appimage. I have run both successful before, about 2 weeks ago.
I compiled the git version today completely new and it still doesn't work.

I am using Arch linux with the latest updates.
Hardware is a Matebook X with a intel core i5-7200, 8gb ram

Information about my graphic card:

Code: Select all

sudo lspci -vnn | grep VGA -A 12
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Huawei Technologies Co., Ltd. Device [19e5:3e02]
	Flags: bus master, fast devsel, latency 0, IRQ 132
	Memory at a0000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 90000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 4000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
Error log when i start the FreeCAD Appimage:

Code: Select all

./FreeCAD_0.19-24291-Linux-Conda_glibc2.12-x86_64.AppImage 
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 iris: /tmp/.mount_FreeCA0OWWup/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_FreeCA0OWWup/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_FreeCA0OWWup/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)
I already installed vulkan-swrast vulkan-icd-loader vulkan-intel with no improvement.

Any help is apreciated.
Last edited by qurn on Thu Jun 03, 2021 9:01 pm, edited 1 time in total.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Execution recently fails for git-build and Appimage (Arch)

Post by Kunda1 »

Thanks for posting, did you install via the AUR? I asked because there are some specific cmake flags that are important to pass when compiling.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
qurn
Posts: 51
Joined: Wed Oct 10, 2018 4:49 pm

Re: Execution recently fails for git-build and Appimage (Arch)

Post by qurn »

no, for the git version i installed it with this flags

Code: Select all

    cmake . \
        -DCMAKE_BUILD_TYPE=Release \
        -DFREECAD_USE_OCC_VARIANT="Official Version" \
        -DFREECAD_USE_QT_FILEDIALOG=ON \
        -DBUILD_QT5=ON \
        -DPYTHON_EXECUTABLE=/usr/bin/python \
        -DPYSIDE2RCCBINARY="/usr/bin/rcc"
I'll look meanwhile in the AUR how they do it.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Execution recently fails for git-build and Appimage (Arch)

Post by Kunda1 »

Here's the AUR link to the PKGBUILD file https://aur.archlinux.org/cgit/aur.git/ ... ad-git#n77
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
qurn
Posts: 51
Joined: Wed Oct 10, 2018 4:49 pm

Re: Execution recently fails for git-build and Appimage (Arch)

Post by qurn »

installing and running the aur git package works. Thanks
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [SOLVED] Execution recently fails for git-build and Appimage (Arch)

Post by Kunda1 »

nice!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
lhf
Posts: 23
Joined: Thu Dec 19, 2013 9:32 pm
Location: Germany

Re: [SOLVED] Execution recently fails for git-build and Appimage (Arch)

Post by lhf »

Hello,
i have the same error message as qurn with the start of the Appimage.
You decribed a solution for compinling with aur.
I am using SuSE Tumbleweed with the weekly builds but since an update of mesa (i think) the appimage weekley builds and the last release starts with the error:

___________________________________________________________________________________________
Sheet Metal workbench loaded
libGL error: MESA-LOADER: failed to open radeonsi: /tmp/.mount_FreeCAP0r4dC/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/radeonsi_dri.so) (search paths /usr/lib64/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi: /tmp/.mount_FreeCAP0r4dC/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/radeonsi_dri.so) (search paths /usr/lib64/dri)
_______________________________________________________________________________________________
is there a solution for this?

thank you
LHF
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [SOLVED] Execution recently fails for git-build and Appimage (Arch)

Post by Kunda1 »

Are you on Arch Linux? (You didn't paste full About info)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
lhf
Posts: 23
Joined: Thu Dec 19, 2013 9:32 pm
Location: Germany

Re: [SOLVED] Execution recently fails for git-build and Appimage (Arch)

Post by lhf »

OS: openSUSE Tumbleweed (KDE//usr/share/xsessions/plasma5)
Word size of FreeCAD: 64-bit
Version: 0.20.25025 (Git) AppImage
Build type: Release
Branch: master
Hash: fb8b21ec43dca706a4aa2d63d59a4fb79f050369
Python version: 3.9.4
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: German/Germany (de_DE)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [SOLVED] Execution recently fails for git-build and Appimage (Arch)

Post by Kunda1 »

This just looks like a packaging dependency. Please report to the downstream opensuse packagers + see what cmake flags they're using
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply