Skip to content

inputstreamhelper downloaded wrong arch of libwidevinecdm.so? #589

@lameventanas

Description

@lameventanas

I started the Netflix addon after a long time, and I was prompted to update libwidevinecdm, so I followed the wizard.
Once finished, I couldn't play the stream and I found this in the log file:

2025-05-22 16:52:18.232 T:15226    info <general>: Creating InputStream
2025-05-22 16:52:18.359 T:15226 warning <general>: AddOnLog: inputstream.adaptive: Warning "inputstream.adaptive.manifest_type" property is deprecated and will be removed next Kodi version, the manifest type is
 now automatically detected.
                                                   If you are using a proxy remember to add the appropriate "content-type" header to the HTTP manifest response
                                                   See Wiki page "How to provide custom manifest/license" to learn more about it.
2025-05-22 16:52:18.368 T:15226    info <general>: AddOnLog: inputstream.adaptive: [Repr. chooser] Resolution set: 1920x1080, max allowed: 1920x1080, Adjust refresh rate: 0
2025-05-22 16:52:18.373 T:15226   error <general>: AddOnLog: inputstream.adaptive: [WV-CDM-Library] Initialize: Failed to load library: /storage/.kodi/cdm/libwidevinecdm.so: wrong ELF class: ELFCLASS64
2025-05-22 16:52:18.373 T:15226   error <general>: AddOnLog: inputstream.adaptive: Unable to load widevine shared library (/storage/.kodi/cdm/libwidevinecdm.so)
2025-05-22 16:52:18.373 T:15226   error <general>: AddOnLog: inputstream.adaptive: PreInitializeDRM: OpenDRMSystem failed

I checked the new library, it seems to be arm 64-bit:
libwidevinecdm.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=109fbe02a16653d8c9d55344548a1096c5a2583f, stripped

On an identical system (without updating the library), it shows:
/storage/.kodi/cdm/libwidevinecdm.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=e7680c2cd57cd5c8210706aebe5ead67278ec5ae, stripped

I'm running CoreELEC on an Odroid C-4

# uname -a
Linux htpc1 4.9.269 #1 SMP PREEMPT Sun Jan 19 10:25:02 CET 2025 aarch64 GNU/Linux
# head .kodi/temp/kodi.log
2025-05-22 16:22:03.754 T:2806     info <general>: -----------------------------------------------------------------------
2025-05-22 16:22:03.754 T:2806     info <general>: Starting Kodi (21.2 (21.2.0) Git:0452c5d37b47ab4470d5b3283498321a02d626c5). Platform: Linux ARM 32-bit
2025-05-22 16:22:03.754 T:2806     info <general>: Using Release Kodi x32
2025-05-22 16:22:03.754 T:2806     info <general>: Kodi compiled 2025-01-19 10:31:32 by GCC 13.2.0 for Linux ARM 32-bit version 4.9.255 (264703)
2025-05-22 16:22:03.754 T:2806     info <general>: Running on Hardkernel ODROID-C4 with CoreELEC (official): 21.2-Omega, kernel: Linux ARM 64-bit version 4.9.269
2025-05-22 16:22:03.754 T:2806     info <general>: FFmpeg version/source: 6.0.1
2025-05-22 16:22:03.754 T:2806     info <general>: Host CPU: Amlogic S905X3 rev b, 4 cores available
2025-05-22 16:22:03.754 T:2806     info <general>: ARM Features: Neon enabled
2025-05-22 16:22:03.754 T:2806     info <general>: special://xbmc/ is mapped to: /usr/share/kodi/
2025-05-22 16:22:03.754 T:2806     info <general>: special://xbmcbin/ is mapped to: /usr/lib/kodi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions