[workaround] issue between glibc-widevine and last glibc

Problems with packages? Post here, using [tags] of the package name.

[workaround] issue between glibc-widevine and last glibc

Postby Rapty » Tue May 14, 2024 5:27 pm

With the recent update, glibc jumped from 2.35 to 2.39.
It can be an issue for people like me who where used to have glibc-widevine from AUR in order to be able to play widevine content (Netflix, Prime etc.).

Indeed during installation pacman didn't upgrade glibc because of glibc-widevine and kept it at 2.35 version.
Right after the update systemd was not operational anymore, neither was pacman.
[code]/usr/lib/libc.so.6: version 'GLIBC_2.38' not found[/code]

My guess is the system would not boot if we give it a try, but I didn't.

I have an ugly workaround for people who cannot chroot easily in arm context nor reinstall everything from scratch, probably there is better but still if it can help:

First, download the last glibc from repo with wget:
[code]wgetmake_clickable_callback(MAGIC_URL_FULL, ' ', 'https://ca.us.mirror.archlinuxarm.org/aarch64/core/glibc-2.39+r52+gf8e4623421-1-aarch64.pkg.tar.xz', '', ' class="postlink"')[/code]

Untar it manually
[code]tar -xvpf glibc-2.39+r52+gf8e4623421-1-aarch64.pkg.tar.xz -C / --exclude .PKGINFO --exclude .INSTALL --exclude .MTREE --exclude .BUILDINFO[/code]

Your system should now be operational, However it is not in a clean state from pacman point of view. We have to install glibc with pacman the right way. But it is already there, a little bit of forcing is requested:
[code]pacman -S --overwrite \* glibc[/code]

I rebooted then successfully and I think everything is back to normal.

Hope this can help.

Many thanks for glibc-widevine maintainer because this package help a lot of us I'm sure !
Rapty
 
Posts: 34
Joined: Sat Dec 26, 2020 5:31 pm

Re: [workaround] issue between glibc-widevine and last glibc

Postby Coffeinflash » Wed May 15, 2024 6:21 am

You dont need glibc-widevine anymore:make_clickable_callback(MAGIC_URL_FULL, ' ', 'https://aur.archlinux.org/packages/widevine', '', ' class="postlink"')
Seems glibc-widevine is removed from aur meanwhile:make_clickable_callback(MAGIC_URL_FULL, ' ', 'https://aur.archlinux.org/packages/glibc-widevine', '', ' class="postlink"')
Coffeinflash
 
Posts: 7
Joined: Fri Apr 29, 2022 8:47 am

Re: [workaround] issue between glibc-widevine and last glibc

Postby Rapty » Wed May 15, 2024 5:17 pm

Yes you are right my point was going from glibc-widevine to glibc AFTER the update when the system became unstable because glibc-widevine was not replaced by last glibc.
Rapty
 
Posts: 34
Joined: Sat Dec 26, 2020 5:31 pm

Re: [workaround] issue between glibc-widevine and last glibc

Postby krevedko » Sat Jun 15, 2024 4:02 pm

Thanks for code snipped about widevine-glibc: it saved me a day.

After glibc-2.39, libwidevinecdm throwed error:
[code]./libwidevinecdm.so: error while loading shared libraries: ./libwidevinecdm.so: DT_RELR without GLIBC_ABI_DT_RELR dependency[/code]

Looks like, widevine is also removed from aur.archlinux.org/pkgbase/widevine

Why?

To fix widevine updated after glibc-2.39, this commands will helped for kodi-rbp 21.x fresh installation:
[code]
git clonemake_clickable_callback(MAGIC_URL_FULL, ' ', 'https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=widevine', '', ' class="postlink"')
cd widevine
makepkg -sic
cp /opt/WidevineCdm/chromium/_platform_specific/linux_arm64/libwidevinecdm.so /var/lib/kodi/.kodi/cdm/
[/code]
krevedko
 
Posts: 1
Joined: Sat Jun 15, 2024 3:56 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 26 guests