New Application Starting error

I have installed freecad on KDE and I could not able start the program and getting this error when I try to open in shell prompt.
same happens with libreoffice also
following error is thrown out.

reecad: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/freecad/lib/libFreeCADGui.so) freecad: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/freecad/lib/libFreeCADApp.so)
freecad: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/freecad/lib/libFreeCADBase.so) freecad: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/libshiboken2.cpython-39-x86_64-linux-gnu.so.5.15)
freecad: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/libboost_program_options.so.1.76.0)

Hey there :slight_smile:
You probably tried to install the applications without updating the system first. This is called a partial upgrade situation and should be avoided :slight_smile:

sudo pacman -Syu freecad

Updates & installs the application for you.

5 Likes

Looks a little like the wrong libraries are installed, or not installed at all.
Make sure the pacman database up to date, and all is updated:

sudo pacman -Syyu

Then try them out. If the apps still won't launch, try re-installing:

sudo pacman -S [package]

(Where [package] is replaced by the package name of the app you want to re-install)

3 Likes

I am getting this error when I try to pass the command
sudo pacman -Syyu

(482/482) checking keys in keyring [------------------------------------] 100%
downloading required keys...
:: Import PGP key 0706B90D37D9B881, "Pedro Henrique Lara Campos [email protected]"? [Y/n] y
(482/482) checking package integrity [------------------------------------] 100%
error: beautyline: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n] y
error: key "45ECA705E3897524654A37880706B90D37D9B881" could not be looked up remotely
:: File /var/cache/pacman/pkg/beautyline-20210621-1-any.pkg.tar.zst is corrupted (invalid or corrupted package
(PGP signature)).
Do you want to delete it? [Y/n] y
error: downgrade: key "45ECA705E3897524654A37880706B90D37D9B881" is unknown
:: Import PGP key 45ECA705E3897524654A37880706B90D37D9B881? [Y/n]
error: key "45ECA705E3897524654A37880706B90D37D9B881" could not be looked up remotely
:: File /var/cache/pacman/pkg/downgrade-10.1.0-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (P
GP signature)).
Do you want to delete it? [Y/n]

3 Likes

A big thank you Catra.

After removing it from /var/cache/pacman/pkg/ and fired sudo pacman -Syu it's working fine

2 Likes

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