glibc version outdated?

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

glibc version outdated?

Postby armurino » Sat Apr 20, 2024 9:54 am

I need to install widevine on a Lenovo x13s so I just read thismake_clickable_callback(MAGIC_URL_FULL, '
', 'https://github.com/AsahiLinux/widevine-installer', '', ' class="postlink"')

quote:
NOTE: Using Widevine requires glibc version 2.36 or later. Arch Linux ARM ships an ancient glibc version, and will not work at this time. Most other distros (even Debian stable) should be OK.

If this is correct, I'm happy to have reported it hereby.
armurino
 
Posts: 5
Joined: Sat Jan 28, 2023 10:13 am

Re: glibc version outdated?

Postby Rapty » Tue Apr 23, 2024 6:09 pm

Probably what you need is glibc-widevine (glibc for arm with widevine patchs) from AUR however it seems to have been deleted.
Rapty
 
Posts: 26
Joined: Sat Dec 26, 2020 5:31 pm

Re: glibc version outdated?

Postby grandcanyon » Fri Apr 26, 2024 3:42 am

You have to install glibc-widevine by running makepkg from the PKGBUILD file. Not sure why it was deleted.

You can try this one:
make_clickable_callback(MAGIC_URL_FULL, '
', 'https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=glibc-widevine', '', ' class="postlink"')

Or I have the package I built if you want it about 10MBs
grandcanyon
 
Posts: 44
Joined: Tue Jan 18, 2022 1:46 am

Re: glibc version outdated?

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

glibc is now up to date. No need for glibc-widevine anymore :D
Rapty
 
Posts: 26
Joined: Sat Dec 26, 2020 5:31 pm

Re: glibc version outdated?

Postby grandcanyon » Wed May 15, 2024 2:24 am

You get it working in Kodi or are you using it in a browser? I can't get it to work in Kodi.
grandcanyon
 
Posts: 44
Joined: Tue Jan 18, 2022 1:46 am

Re: glibc version outdated?

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

Yes I did.
I took the widevine library from the AUR pacakge `widevine` and I put it into the expected kodi folder.
[code]# cp AUR/widevine/src/libwidevinecdm.so /var/lib/kodi/.kodi/cdm/libwidevinecdm.so[/code]

you can check that your widevine library is actually compatible with your current glibc with ldd:
[code]# ldd /var/lib/kodi/.kodi/cdm/libwidevinecdm.so
linux-vdso.so.1 (0x0000ffff8c9a6000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x0000ffff8b400000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x0000ffff8b3d0000)
libnspr4.so => /usr/lib/libnspr4.so (0x0000ffff8b370000)
libm.so.6 => /usr/lib/libm.so.6 (0x0000ffff8b2c0000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000ffff8b100000)
/usr/lib/ld-linux-aarch64.so.1 (0x0000ffff8c969000)
[/code]

This is actually what does kodi input stream so doing the check first will save you sometime avoiding parsing logs latter.
Rapty
 
Posts: 26
Joined: Sat Dec 26, 2020 5:31 pm

Re: glibc version outdated?

Postby grandcanyon » Wed May 15, 2024 5:31 pm

Thanks for the help. I can't get it to work as it just freezes kodi. I did the same as I just moved the libwidevinecdm.so to my folder. I get different values for ldd

[alarm@alarm cdm]$ ldd libwidevinecdm.so
linux-vdso.so.1 (0x00007ffecc7f0000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007ffecb230000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007ffecb200000)
libnspr4.so => /usr/lib/libnspr4.so (0x00007ffecb1a0000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007ffecb0f0000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007ffecaf30000)
/usr/lib/ld-linux-aarch64.so.1 (0x00007ffecc7b8000)

I think it pulled the file from libwidevinecdm0_4.10.2252.0+3_arm64.deb. Is this the version you use? Also which version of inputstream adaptive are you using?
grandcanyon
 
Posts: 44
Joined: Tue Jan 18, 2022 1:46 am

Re: glibc version outdated?

Postby Rapty » Wed May 15, 2024 6:12 pm

Well it's not about values. A non working lib will say something more like
[code]error while loading shared libraries: libwidevinecdm.so: DT_RELR without GLIBC_ABI_DT_RELR dependency[/code]

Yes it is the version I use.

When does it freeze ? At startup ? When you start a video ?
When widevine was not working I didn't experiment freeze. Just an error popup when trying to play a video.

You have to dig into Kodi logs to have a better view of what's going on.
Crash log are in /var/lib/kodi/
Standard logs are in /var/lib/kodi/.kodi/temp/kodi.log
Rapty
 
Posts: 26
Joined: Sat Dec 26, 2020 5:31 pm

Re: glibc version outdated?

Postby Rapty » Wed May 15, 2024 6:13 pm

I have kodi-addon-inputstream-adaptive-any 21.4.5-1
Rapty
 
Posts: 26
Joined: Sat Dec 26, 2020 5:31 pm

Re: glibc version outdated?

Postby Rapty » Wed May 15, 2024 6:38 pm

I see in PKGBUILD there is a patching done for aarch64.
I think I did a makepkg!

# md5sum /var/lib/kodi/.kodi/cdm/libwidevinecdm.so
91bd23d013a6617170f36ee5dd87d790 /var/lib/kodi/.kodi/cdm/libwidevinecdm.so
Rapty
 
Posts: 26
Joined: Sat Dec 26, 2020 5:31 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 2 guests