EDIT: It was just a user error on my side. Everything works as intended and as expected.
I updated the linux-widevine-cdm port and now it doesn't work anymore. I fixed all the paths that have changed in the latest release and now I'm sure that the browser tries to load the shared object but it fails with this error:
However, the library is definitely present on my system:
Kernel modules are loaded:
And the Linux compatibility layer is enabled:
What am I doing wrong?
I updated the linux-widevine-cdm port and now it doesn't work anymore. I fixed all the paths that have changed in the latest release and now I'm sure that the browser tries to load the shared object but it fails with this error:
Code:
[3412:13098127794176:1216/081716.396736:ERROR:content_main_runner_impl.cc(439)] Unable to load CDM /usr/local/lib/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so (error: Shared object "libdl.so.2" not found, required by "libwidevinecdm.so")
However, the library is definitely present on my system:
Code:
┬─[fmc000@tu45b-freebsd:/u/src]─[08:14:31]
╰─>$ pkg list linux_base-c7-7.9.2009_3|grep libdl
/compat/linux/usr/lib/libdl-2.17.so
/compat/linux/usr/lib/libdl.so.2
/compat/linux/usr/lib64/libdl-2.17.so
/compat/linux/usr/lib64/libdl.so.2
┬─[fmc000@tu45b-freebsd:/u/src]─[08:19:50]
╰─>$ file /compat/linux/usr/lib/libdl.so.2
/compat/linux/usr/lib/libdl.so.2: symbolic link to libdl-2.17.so
┬─[fmc000@tu45b-freebsd:/u/src]─[08:20:19]
╰─>$ file /compat/linux/usr/lib64/libdl.so.2
/compat/linux/usr/lib64/libdl.so.2: symbolic link to libdl-2.17.so
┬─[fmc000@tu45b-freebsd:/u/src]─[08:20:27]
╰─>$ file /compat/linux/usr/lib/libdl-2.17.so
/compat/linux/usr/lib/libdl-2.17.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=dbaca2d49cab7e7aff8529362cbed5bd28bc9b20, for GNU/Linux 2.6.32, not stripped
┬─[fmc000@tu45b-freebsd:/u/src]─[08:20:37]
╰─>$ file /compat/linux/usr/lib64/libdl-2.17.so
/compat/linux/usr/lib64/libdl-2.17.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=7f2e9cb0769d7e57bd669b485a74b537b63a57c4, for GNU/Linux 2.6.32, not stripped
┬─[fmc000@tu45b-freebsd:/u/src]─[08:20:48]
╰─>$
Kernel modules are loaded:
Code:
┬─[fmc000@tu45b-freebsd:/u/src]─[08:20:48]
╰─>$ kldstat|grep linux
10 2 0xffffffff8466a000 4120 linuxkpi_video.ko
21 1 0xffffffff84848000 30a80 linux.ko
22 4 0xffffffff84879000 c2a8 linux_common.ko
23 1 0xffffffff84886000 2de10 linux64.ko
┬─[fmc000@tu45b-freebsd:/u/src]─[08:21:39]
╰─>$
And the Linux compatibility layer is enabled:
Code:
┬─[fmc000@tu45b-freebsd:/u/src]─[08:21:39]
╰─>$ sysrc -a |grep linux
linux_enable: YES
┬─[fmc000@tu45b-freebsd:/u/src]─[08:22:04]
╰─>$
What am I doing wrong?