libgstx264.so: undefined symbol: x264_encoder_open_130
Larry Wyble
llwyble at suddenlink.net
Wed Feb 25 10:20:29 PST 2015
On Tue, 24 Feb 2015 17:54:44 +0000
Tim Müller <tim at centricular.com> wrote:
> 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
>
Here's what I got with ldd;
linux-gate.so.1 (0xffffe000)
libgstvideo-0.10.so.0 => /usr/lib/libgstvideo-0.10.so.0 (0xb7780000)
libgstpbutils-0.10.so.0 => /usr/lib/libgstpbutils-0.10.so.0 (0xb7763000)
libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0 (0xb76ae000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb765b000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7656000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7654000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb74fb000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb73b8000)
libx264.so.138 => /usr/lib/libx264.so.138 (0xb723c000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7221000)
libc.so.6 => /lib/libc.so.6 (0xb7096000)
libgstbase-0.10.so.0 => /usr/lib/libgstbase-0.10.so.0 (0xb705b000)
librt.so.1 => /lib/librt.so.1 (0xb7052000)
libffi.so.6 => /usr/lib/libffi.so.6 (0xb704c000)
libm.so.6 => /lib/libm.so.6 (0xb7009000)
libdl.so.2 => /lib/libdl.so.2 (0xb7004000)
libz.so.1 => /usr/lib/libz.so.1 (0xb6fee000)
liblzma.so.5 => /lib/liblzma.so.5 (0xb6fc8000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb6e91000)
/lib/ld-linux.so.2 (0xb779f000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6e70000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb6e6d000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6e67000)
Though I'm no expert I see nothing wrong here, I also checked whether I had other x264
installs anywhere else and I don't. I'm stumped. :)
The only reason I started out to do this is I'm hard of hearing and have to edit a lot of poorly
done subtitle files. I've been doing them by hand and thought I need to install a subtitle editor.
Hell, I could have finished the subtitle by hand by now. LOL
But I still need to get this or something like it working.
Thanks for the help.
More information about the gstreamer-devel
mailing list