libgstx264.so: undefined symbol: x264_encoder_open_130

Tim Müller tim at centricular.com
Tue Feb 24 09:54:44 PST 2015


On Tue, 2015-02-24 at 11:35 -0600, Larry Wyble wrote:
> > > 
> > > (gst-plugin-scanner:6848): GStreamer-WARNING **: Failed to load
> > > plugin
> > > '/usr/lib/gstreamer-0.10/libgstx264.so': /usr/lib/gstreamer-0.10/libgstx264.so:
> > > undefined symbol: x264_encoder_open_130
> > > 
> > > What is the problem here, any ideas? Did I miss a configure option
> > > or something?
> > 
> > This most likely means that you installed a version of the GStreamer
> > plugin that was built against a different version of libx264 than what
> > you have installed currently. Or that it wasn't properly linked
> > against libx264 to begin with.
> > 
> 
> I installed both the plugin and libgstx264.so together and built from
> source. How would I make sure it wasn't properly linked against
> libgstx264.so? 

libgstx264.so is the plugin.

Run this:

  ldd /path/to/libgstx264.so

it should show something similar to:

  libx264.so.142 => /usr/lib/x86_64-linux-gnu/libx264.so.142

The kind of error you're seeing usually happens if you compile the
GStreamer plugin (or any libx264-using application), and then later
upgrade the libx264 version without recompiling the GStreamer plugin /
the libx264-using application. The newer libx264 version will have
different version suffixes. This is pretty much a libx264-specific
thing, most libraries don't do this kind of thing.

If this (upgrade of libx264) is not what happened, then perhaps your
x264 headers/includes were not from the same path prefix/version as the
libx264.so that is used. Check the prefix of the ldd line above, perhaps
you have an old version installed in /usr/local or somesuch?

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list