ungoogled-software / ungoogled-chromium-archlinux

Arch Linux packaging for ungoogled-chromium
BSD 3-Clause "New" or "Revised" License
338 stars 37 forks source link

upgraded to 113.0.5672.63-1 on Manjaro stable > CRASH : version `GLIBCXX_3.4.31' not found #227

Closed SvenMeyer closed 1 year ago

SvenMeyer commented 1 year ago

system : Manjaro Linux stable

Just upgraded to 113.0.5672.63-1 and got this error

$ chromium
/usr/lib/chromium/chromium: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by /usr/lib/chromium/chromium)

image

SvenMeyer commented 1 year ago

tried to downgrade as it is still in my cache, but did not work for me ...


$ sudo pacman -U file:///var/cache/pacman/pkg/ungoogled-chromium-112.0.5615.165-1-x86_64.pkg.tar.zst

loading packages...
error: '/var/cache/pacman/pkg/ungoogled-chromium-112.0.5615.165-1-x86_64.pkg.tar.zst': invalid or corrupted package (PGP signature)
``
ptr1337 commented 1 year ago

I think this is due it got rebuild against gcc 13. You could fetch the latest version from the releases probably

bagaweb commented 1 year ago

Same error here, how did you solve?

$ chromium
/usr/lib/chromium/chromium: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by /usr/lib/chromium/chromium)
SvenMeyer commented 1 year ago

@bagaweb As I do not want to leave the Manjaro core stable branch (I need my computer to work on other stuff) and I do not want to switch off signature verification (I need all the security I can get (easily)), I just use the Appimage for now until this issue is resolved "somehow". I can't spent too much time on it anymore ...

SvenMeyer commented 1 year ago

I think this is due it got rebuild against gcc 13. You could fetch the latest version from the releases probably

I am honestly just a "Linux user" (although I am a developer), but isn't that a bit "problematic" that I have to have gcc/libs 13 installed to get it to work? Why isn't that included in chromium? Current Manjaro core stable does not offer gcc 13 for now, and I do not want to switch to unstable/develop ... Latest AUR also does not work Any other options?

ptr1337 commented 1 year ago

I think this is due it got rebuild against gcc 13. You could fetch the latest version from the releases probably

I am honestly just a "Linux user" (although I am a developer), but isn't that a bit "problematic" that I have to have gcc/libs 13 installed to get it to work? Why isn't that included in chromium? Current Manjaro core stable does not offer gcc 13 for now, and I do not want to switch to unstable/develop ... Latest AUR also does not work Any other options?

Well, the only solution would be to recompile it on your own or just using the old version till manjaro will move to the stable branch. You could recompile ungoogled-chromium with: paru -G ungoogled-chromium cd ungoogled-chromium makepkg -si

But be aware, depending on which CPU you have this can take a lot of time. (3 hours or more)

bagaweb commented 1 year ago

@bagaweb As I do not want to leave the Manjaro core stable branch (I need my computer to work on other stuff) and I do not want to switch off signature verification (I need all the security I can get (easily)), I just use the Appimage for now until this issue is resolved "somehow". I can't spent too much time on it anymore ...

Alright thanks @SvenMeyer I will try your solution and hopefully this issue will be solved soon.

SvenMeyer commented 1 year ago

resolved with the latest update for Manjaro stable from 2023-06-04