Ungoogled-chromium: re2 updates break chromium on linux

Created on 18 Dec 2020  路  6Comments  路  Source: Eloston/ungoogled-chromium

Hi,

re2 just got an update on my distro (arch) and now chromium complains about failing to find libre2.so.8 .

"/usr/lib/chromium/chromium: error while loading shared libraries: libre2.so.8: cannot open shared object file: No such file or directory"

Looks like with this update, file is updated to libre2.so.9 . And when I symlink libre2.so.9 (or libre2.so) to .8, then it complains about an undefined symbol.

"/usr/lib/chromium/chromium: symbol lookup error: /usr/lib/chromium/chromium: undefined symbol: _ZN3re23RE23Arg12parse_stringEPKcmPv"

Problem persists with
87.0.4280-88
87.0.4280-66
86.0.4240.183

This happens every time re2 package gets an update but symlinking would at least allow me to use the browser before, now it simply doesn't work.

All 6 comments

From what I understand, rebuilding ungoogled-chromium with the latest re2 version is the solution.
But I would rather wait for the next release, so I did downgrade re2 and it works.

Yes of course, but sometimes it'd take over 2 weeks for a new release. I was thinking of statically linking the re2 lib, not sure if that's ok with the project

I think @jstkdng's philosophy of maintaining the AUR package is to keep the PKGBUILD as close to upstream as possible, so I doubt he will make the change. Also the problem is not just with re2, it has happened with other libraries in the past.

Thank you for the replies. I'm not really building myself with a laptop, wondered if maintainer would. But as @wchen342 pointed out, that's not happening. I'm closing this

If that happens ofc I'm rebuilding and uploading to my repo as it affects me as well.
If you aren't using my repo you should ask for a rebuild from the maintainer of the one you use.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brianegan picture brianegan  路  3Comments

Darthagnon picture Darthagnon  路  3Comments

Eloston picture Eloston  路  4Comments

dm17 picture dm17  路  3Comments

biziclop picture biziclop  路  3Comments