Description of problem: mga7 Dec 26 01:55:23 gst-plugin-scan[5858]: Couldn't g_module_open libpython. Reason: /usr/lib64/libpython3.7m.so: cannot open shared object file: No such file or directory $ locate /usr/lib64/libpython3 /usr/lib64/libpython3.7m.so.1.0 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. journalctl | grep libpython 2. 3.
Thank you for the alert. $ ls -l /usr/lib64/libpython3* -rwxr-xr-x 1 root root 3088720 Tach 1 15:27 /usr/lib64/libpython3.7m.so.1.0* No registered maintainer for 'python3', so assigning to the Python group.
Assignee: bugsquad => python
/usr/lib64/libpython3.7m.so is provided by lib64python3-devel and it is a development file so this issue come not from python3 but from gst-plugin-scan command. Which package provides gst-plugin-scan?
CC: (none) => geiger.david68210
(In reply to David GEIGER from comment #2) > /usr/lib64/libpython3.7m.so is provided by lib64python3-devel and it is a > development file so this issue come not from python3 but from > gst-plugin-scan command. > > Which package provides gst-plugin-scan? $ get_src_rpm gst-plugin-scan Looked for : gst-plugin-scan Using : /usr/lib64/gstreamer-1.0/gst-plugin-scanner Installed rpm : lib64gstreamer1.0_0-1.16.0-2.mga7 rpm short name: lib64gstreamer1.0_0 Source rpm : gstreamer1.0-1.16.0-2.mga7.src.rpm Information : http://gstreamer.freedesktop.org/ Packager : wally <wally> Summary : Libraries for GStreamer streaming-media framework
I would like to get more info about which tool is calling gst-plugin-scan?
CC: (none) => jani.valimaa
I'm trying to figure out what's the pkg from where the issue is coming. Do you have gstreamer1.0-python installed? Does the issue go away if gstreamer1.0-python is removed?
$ rm -rf $HOME/.cache/gstreamer-1.0/registry.x86_64.bin $ LC_ALL=C.UTF-8 GST_DEBUG=2 gst-inspect-1.0 python ** (gst-plugin-scanner:32155): CRITICAL **: 15:58:03.409: Couldn't g_module_open libpython. Reason: /usr/lib64/libpython3.7m.so: cannot open shared object file: No such file or directory 0:00:00.001772091 32155 0xca20c0 WARN GST_PLUGIN_LOADING gstplugin.c:528:gst_plugin_register_func: plugin "/usr/lib64/gstreamer-1.0/libgstpython.cpython-37m-x86_64-linux-gnu.so" failed to initialise No such element or plugin 'python'
Added a patch to fix hardcoded python3 shared library name. Please test gstreamer1.0-python-1.16.0-1.1.mga7 from core/updates_testing. Test case is in comment 6.
Source RPM: python3-3.7.5-1.mga7.src.rpm => gstreamer1.0-python-1.16.0-1.mga7Summary: gst-plugin-scan Couldn't g_module_open libpython => gst-plugin-scanner: Couldn't g_module_open libpythonAssignee: python => qa-bugs
(In reply to Jani Välimaa from comment #7) > Please test gstreamer1.0-python-1.16.0-1.1.mga7 from core/updates_testing. > Test case is in comment 6. $ rpm -qf $(which gst-inspect-1.0) gstreamer1.0-tools-1.16.0-2.mga7 gstreamer1.0-tools is needed for the testing.
(In reply to Jani Välimaa from comment #8) > (In reply to Jani Välimaa from comment #7) > > Please test gstreamer1.0-python-1.16.0-1.1.mga7 from core/updates_testing. > > Test case is in comment 6. > > $ rpm -qf $(which gst-inspect-1.0) > gstreamer1.0-tools-1.16.0-2.mga7 > > gstreamer1.0-tools is needed for the testing. And make sure that lib(64)python3-devel is not installed.
Confirmed that now the fix works on my mga7 for x86_64: Before: $ LC_ALL=C.UTF-8 GST_DEBUG=2 gst-inspect-1.0 python ** (gst-plugin-scanner:31268): CRITICAL **: 15:06:37.914: Couldn't g_module_open libpython. Reason: /usr/lib64/libpython3.7m.so: cannot open shared object file: No such file or directory 0:00:00.003081973 31268 0xffb0c0 WARN GST_PLUGIN_LOADING gstplugin.c:528:gst_plugin_register_func: plugin "/usr/lib64/gstreamer-1.0/libgstpython.cpython-37m-x86_64-linux-gnu.so" failed to initialise No such element or plugin 'python' $ After: $ LC_ALL=C.UTF-8 GST_DEBUG=2 gst-inspect-1.0 python Plugin Details: Name python Description loader for plugins written in python Filename /usr/lib64/gstreamer-1.0/libgstpython.cpython-37m-x86_64-linux-gnu.so Version 1.16.0 License LGPL Source module gst-python Binary package GStreamer GObject Introspection overrides for Python Origin URL http://gstreamer.freedesktop.org $
after gstreamer install, removing my workaround symlink. login, journalctl | grep libpython did not show a problem and above test procedure works as shown.
Used the QArepo tool to update to gstreamer1.0-python-1.16.0-1.1.mga7. No installation issues. Since David Geiger and Bit Twister both report that the issue is fixed, and I had a clean install, I'm giving this a 64-bit OK.
Whiteboard: (none) => MGA7-64-OKCC: (none) => andrewsfarm
CC: (none) => tmb, sysadmin-bugsKeywords: (none) => advisory, validated_update
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0017.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED