Description
I built AppImage with the gstreamer plugin on Ubuntu 20.04 (and 22.04) by linuxdeploy:
QMAKE=/usr/bin/qmake6 QML_SOURCES_PATHS=/home/ks/Projects/App/qml/ GSTREAMER_INCLUDE_BAD_PLUGINS="1" ./linuxdeploy-x86_64.AppImage --appdir App/ -e App/App -i App/App.png -d App/App.desktop --plugin qt --plugin gstreamer --output appimage
Log from Ubuntu 22.04:
https://gist.github.com/ksvert/5f581352d7d17089ff8926eeb6c6c45f
When I run it on Opensuse Tumbleweed I get an error:
** (gst-plugin-scanner:2307): CRITICAL **: 13:11:40.676: Couldn't g_module_open libpython. Reason: /usr/lib/python3.10/config-3.10-x86_64-linux-gnu/libpython3.10.so: cannot open shared object file: No such file or directory
It looks like it searching for libpython in ubuntu specific location and can't find it because on opensuse it's in different place. It's searching there despite it copied libpython into usr/lib/ inside AppImage.
It seems that such path is hardcoded into libgstpython.so
strings libgstpython.so | grep config-3.10