GStreamer: Missing /usr/lib/ in GNOME Platform 3.22 #537

fenryxo opened this Issue Feb 7, 2017 · 8 comments


None yet

2 participants

fenryxo commented Feb 7, 2017

I've got the following error message from GStreamer from GNOME Platform 3.22: ** (gst-plugin-scanner:40): CRITICAL **: Couldn't g_module_open libpython. Reason: /usr/lib/ cannot open shared object file: No such file or directory

Inside the Platform flatpak, there is /usr/lib/ Maybe a symlink is missing to make GStreamer happy?

$ ls /usr/lib/libpython*
/usr/lib/  /usr/lib/

However, the symlinks are present in the SDK flatpak:

$ ls -l /usr/lib/libpython*
lrwxrwxrwx 1 nfsnobody nfsnobody      19 Oct 19 12:12 /usr/lib/ ->
-rwxr-xr-x 4 nfsnobody nfsnobody 1870408 Jan  1  1970 /usr/lib/
lrwxrwxrwx 1 nfsnobody nfsnobody      20 Oct 19 12:12 /usr/lib/ ->
-rwxr-xr-x 4 nfsnobody nfsnobody 2519832 Jan  1  1970 /usr/lib/
-rwxr-xr-x 3 nfsnobody nfsnobody    3896 Jan  1  1970 /usr/lib/

Seems like gst-python depends on the devel symlink for libpython. Thats pretty weird. Its gonna break for real distros too, if you don't have the devel packages installed.

fenryxo commented Feb 15, 2017

I guess there is anything I can do with it except to build GStreamer as a module of my app and keep the devel symlink around. Or is there another solution?


I'll look into a workaround.

@alexlarsson alexlarsson added a commit to flatpak/freedesktop-sdk-images that referenced this issue Feb 15, 2017
@alexlarsson alexlarsson Add a workaround for gstpython
As discussed in:
The gstreamer python plugin relies on the devel .so symlinks
for python, and these are not in the platform.
We add them for now, although the proper fix is to fix gstreamer.

What did you do to reproduce this?

fenryxo commented Feb 16, 2017
flatpak remote-add --from nuvola
flatpak install nuvola eu.tiliado.NuvolaAdk
rm -r ~/.var/app/eu.tiliado.NuvolaAdk
flatpak run --command=nuvola eu.tiliado.NuvolaAdk

Seems to help then...

fenryxo commented Feb 16, 2017

Great, thanks. It should fix also flatpak/freedesktop-sdk-images#1 then.


Should be fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment