GNOME Bugzilla – Bug 769809
libgstlibav fails on Linux
Last modified: 2016-08-16 18:13:11 UTC
I have compiled on Linux 64bit Ubuntu 12.04 through Cerbero 1.9.1. gst-libav compiles fine but when it's run in a cerbero shell, it gives the following error: (gst-plugin-scanner:8579): GStreamer-WARNING **: Failed to load plugin '/home/gregoire/cerbero/build/dist/linux_x86_64/lib/gstreamer-1.0/libgstlibav.so': /home/gregoire/cerbero/build/dist/linux_x86_64/lib/gstreamer-1.0/libgstlibav.so: undefined symbol: DtsStopDecoder
From where did you get the external ffmpeg/libav? It seems like a bug in its pkg-config file.
As I said, I have Ubuntu Linux 64 bit. I have just done: git clone git://anongit.freedesktop.org/gstreamer/cerbero cd cerbero git checkout 1.9.1 ./cerbero-uninstalled -c config/linux.config bootstrap ./cerbero-uninstalled -c config/linux.cbc package gstreamer-1.0 ./cerbero-uninstalled -c config/linux.cbc shell gst-inspect-1.0 and I'm getting the error. I misspelled in my first comment, I have Ubuntu Ubuntu 14.04.5 LTS. dpkg -l | grep libavcodec-dev ii libavcodec-dev 6:9.18-0ubuntu0.14.04.1 amd64 Development files for libavcodec
That's surprising, it should not link to any external libraries when building gst-libav then and also use the internal ffmpeg snapshot.
Can you upload the corresponding config.log of gst-libav and the build log?
Created attachment 333428 [details] config.log file
Created attachment 333429 [details] Build log files
The fix will also go into 1.8.3. You should nonetheless ensure to build everything (with cerbero) in a clean system. commit 490e98913d50728fe1cc1ecba594111dcd45ff81 Author: Sebastian Dröge <sebastian@centricular.com> Date: Tue Aug 16 21:11:35 2016 +0300 configure: Explicitly disable CrystalHD decoder Otherwise it will pick it up when the system has the relevant headers, and then linking produces an unusable plugin later as we don't ensure that the plugin also links against the crystalhd library. https://bugzilla.gnome.org/show_bug.cgi?id=769809