Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: chromium doesn't start - error while loading shared libraries: libre2.so.0 (Read 7539 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

chromium doesn't start - error while loading shared libraries: libre2.so.0

Since yesterday, chromium does not start anymore.
At first youtube videos said "problem with audio - please restart your computer". Then I closed chromium, but it did not start anymore.
Code: [Select]
/usr/lib/chromium/chromium: error while loading shared libraries: libre2.so.0: cannot open shared object file: No such file or directory

I tried reinstalling it with `sudo pacman -Syu chromium`, but did not help (was already up to date).

ideas?  (I am using xfce4 and openRC)

Re: chromium doesn't start - error while loading shared libraries: libre2.so.0

Reply #1
Did you update re2 to version 1:20200303-1 ? Try to downgrade re2:

sudo pacman -U /var/cache/pacman/pkg/re2-1:20200101-1-x86_64.pkg.tar.xz
Code: [Select]
ARTIX Dinit + SDDM + Enlightenment

Re: chromium doesn't start - error while loading shared libraries: libre2.so.0

Reply #2
Yes, I had this version.
After the downgrade of re2 (1:20200303-1 => 1:20200101-1), chromium starts again.

So I am waiting now for a chromium and/or re2 update, I think, which fixes that.. (?)

btw. : chromium was also downgraded by pacman via "sudo pacman -Syu" (warning: version installed is newer than the one from the repos)

thanks

Re: chromium doesn't start - error while loading shared libraries: libre2.so.0

Reply #3
Code: [Select]
sudo ln -s /usr/lib/libre2.so /usr/lib/libre2.so.0
Works too. Just remember to remove the link after the package maintainer fixed the problem.

Re: chromium doesn't start - error while loading shared libraries: libre2.so.0

Reply #4
that is total wrong solution. maintainers in archlinux are no stupid peoples, they rebuilded all packages which have as depends re2.

chromium-80.0.3987.132-2


you must just update (and have good and up-to-date mirror).

P.S. we provide ungoogled-chromium

Re: chromium doesn't start - error while loading shared libraries: libre2.so.0

Reply #5
To elaborate on this, chromium is an Arch package not an Artix linux one. It is possible for libraries from Artix to mismatch with a package from Arch. There's no way for us to guarantee that your Arch mirror is up to date and in sync with your Artix mirrors which is why you are getting the error here. As Alium noted, Arch has rebuilt the package upstream. A much better solution is to manually grab the package from there (if your Arch mirror hasn't updated yet) and don't mess around with the symlink stuff.

Re: chromium doesn't start - error while loading shared libraries: libre2.so.0

Reply #6
i tested yesterday archlinux's chromium-80.0.3987.132-2 on artixlinux and works normally - no error. so no mistake by develoepers, problem should be in mirror

Re: chromium doesn't start - error while loading shared libraries: libre2.so.0

Reply #7
After changing the mirrors (from worlwide to some in germany), now both, chromium and re2 got updated and the problem seems to be solved.

Re: chromium doesn't start - error while loading shared libraries: libre2.so.0

Reply #8
I hit this bug via "atom" too ... temorary solution is the symlinc for now ...

PS: my mirror is mirror1.artixlinux.org ... with up-to-date packages

Re: chromium doesn't start - error while loading shared libraries: libre2.so.0

Reply #9
I hit this bug via "atom" too ... temorary solution is the symlinc for now ...

PS: my mirror is mirror1.artixlinux.org ... with up-to-date packages

no, sorry, no bug, all is correct rebuild on side of archlinux...

mirror1.artixlinux.org provide ONLY artixlinux packages (re2). chceck your ARCHLINUX MIRROR please (chromium, electron, etc)!


'pacman -Q re2 chromium'  or another "non works package (eletron etc.)" please

Re: chromium doesn't start - error while loading shared libraries: libre2.so.0

Reply #10
I tried this as soon as I read it, (good excuse to watch a video ;D )  and had no problem on youtube with chromium. So I assumed it was hardware specific whether you experienced the issue. Perhaps it relates to what graphics or soundcard you have, also I have alsa with no pulse.
[2020-03-08T02:29:55+0000] [ALPM] upgraded re2 (1:20200101-1 -> 1:20200303-1)
[2020-03-07T14:27:10+0000] [ALPM] upgraded chromium (80.0.3987.132-1 -> 80.0.3987.132-2)
These versions are still installed, but were installed before the first post, as you can see from the times.
$ ls /usr/lib/libre2*
/usr/lib/libre2.so  /usr/lib/libre2.so.6  /usr/lib/libre2.so.6.0.0
Nor do I have the link that reportedly helps some users. Chromium behaves differently according to what hardware is detected, this may even mean one user will not see the exact same web page as another.