linuxdeploy / linuxdeploy-plugin-gstreamer

Bundles GStreamer plugins into AppDirs. Experimental code, please expect issues! Help welcome!
3 stars 11 forks source link

rpath is missing #2

Closed Stivius closed 3 years ago

Stivius commented 3 years ago

When I'm running linuxdeploy on usual libraries the rpath is set to all of them. However, gstreamer plugins are just copied to the folder without any modification. Due to this I'm getting the following errors while running:

(gst-plugin-scanner:44952): GStreamer-WARNING **: 01:09:14.987: Failed to load plugin '/tmp/.mount_Xibo_Pq9LncK/usr/lib/gstreamer-1.0/libgstcdio.so': libcdio.so.17: cannot open shared object file: No such file or directory

(gst-plugin-scanner:44962): GStreamer-WARNING **: 01:09:15.089: Failed to load plugin '/tmp/.mount_Xibo_Pq9LncK/usr/lib/gstreamer-1.0/libgstdvdread.so': libdvdread.so.4: cannot open shared object file: No such file or directory

I've fixed it by adding LD_LIBRARY_PATH=${APPDIR}/usr/lib in apprun-hooks script but I suppose setting rpath is better because this approach is chosen in the linuxdeploy.

TheAssassin commented 3 years ago

Should be fixed since https://github.com/linuxdeploy/linuxdeploy-plugin-gstreamer/pull/3. Can you please retry?

Edit: Well, you probably have. So please close this issue if it works now.