Description of problem: It looks like either gst-plugin-scanner is looking for libpython with a wrong filename or libpython3.10.so symlink should be moved from python3-devel to python3-libs. Version-Release number of selected component (if applicable): 1.20.0-1.fc35 How reproducible: Always Steps to Reproduce: 1. rm -v $HOME/.cache/gstreamer-1.0/registry.x86_64.bin 2. GST_DEBUG=2 gst-inspect-1.0 python Actual results: ... ** (gst-plugin-scanner:63325): CRITICAL **: 11:57:01.421: Couldn't g_module_open libpython. Reason: /usr/lib64/libpython3.10.so: cannot open shared object file: No such file or directory ... Expected results: ... Plugin Details: Name python Description loader for plugins written in python Filename /usr/lib64/gstreamer-1.0/libgstpython.so Version 1.20.0 License LGPL Source module gst-python Binary package GStreamer Python Origin URL http://gstreamer.freedesktop.org Additional info: python3-libs seems to carry libpython3.so, but not libpython3.10.so. The latter is in python3-devel only. On the other hand, python2.7 does carry libpython2.7.so. $ ls -l /usr/lib64/libpython* lrwxrwxrwx. 1 root root 19 Sep 20 19:40 /usr/lib64/libpython2.7.so -> libpython2.7.so.1.0 -rwxr-xr-x. 1 root root 1904736 Sep 20 19:41 /usr/lib64/libpython2.7.so.1.0 -rwxr-xr-x. 1 root root 3534368 Jan 17 19:27 /usr/lib64/libpython3.10.so.1.0 -rwxr-xr-x. 1 root root 15024 Jan 17 19:27 /usr/lib64/libpython3.so Similar bug in Mageia: https://bugs.mageia.org/show_bug.cgi?id=25961
Ping?
This message is a reminder that Fedora Linux 35 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '35'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 35 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Still reproducible. Is gstreamer1 maintained?
python2.7 does carry all the -devel content, so it is not a good example. My understanding of .so libraries is that the unversioned symbolic link belongs to the devel package and other software that dlopens or links to should explicitly do so with libpython3.11.so.1.0. Is that not correct?
Mageia also fixed this in gstreamer1.0-python
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
Still reproducible on Fedora 40. ** (gst-plugin-scanner:8380): CRITICAL **: 11:46:03.987: Couldn't g_module_open libpython. Reason: /usr/lib64/libpython3.12.so: cannot open shared object file: No such file or directory Note python3-gstreamer1 must be installed. python3-gstreamer1-1.22.9-2.fc40.x86_64