Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: xyxy on 08 March 2020, 09:59:03

Title: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: xyxy on 08 March 2020, 09:59:03
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)
Title: Re: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: xanadu on 08 March 2020, 12:11:54
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
Title: Re: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: xyxy on 08 March 2020, 12:24:09
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
Title: Re: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: RandomUser on 08 March 2020, 14:27:42
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.
Title: Re: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: alium on 09 March 2020, 21:07:14
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
Title: Re: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: Dudemanguy on 09 March 2020, 22:16:47
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 (https://www.archlinux.org/packages/extra/x86_64/chromium/) (if your Arch mirror hasn't updated yet) and don't mess around with the symlink stuff.
Title: Re: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: alium on 10 March 2020, 08:16:57
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
Title: Re: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: xyxy on 10 March 2020, 09:03:24
After changing the mirrors (from worlwide to some in germany), now both, chromium and re2 got updated and the problem seems to be solved.
Title: Re: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: 6543 on 12 March 2020, 01:18:03
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
Title: Re: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: alium on 12 March 2020, 09:42:43
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
Title: Re: chromium doesn't start - error while loading shared libraries: libre2.so.0
Post by: ####### on 12 March 2020, 14:17:43
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.