gst-inspect-1.0: undefined symbol: gst_tracer_factory_get_type

Tim Müller tim at centricular.com
Wed Dec 28 10:05:37 UTC 2016


On Tue, 2016-12-27 at 16:39 -0800, palash wrote:

Hi,

> Gstreamer custom plugin can not be loaded, reporting no element.
> gst-inspect-1.0 shows error for the following command:
> 
> $ gst-inspect-1.0 /usr/local/lib/gstreamer-1.0/libgstmyplugin.so
> 
> gst-inspect-1.0: symbol lookup error: gst-inspect-1.0: undefined
> symbol: gst_tracer_factory_get_type

The most likely reason for this is that you compiled against a newer
version of the GStreamer includes and GStreamer library (maybe compiled
from source and installed into /usr/local/?), and that at runtime the
system picks up an older version of GStreamer, e.g. a GStreamer
installed from packages into /usr/lib.

Maybe you didn't run 'sudo ldconfig' after doing 'make install'.

Maybe you need to add /usr/local/lib/... to the LD_LIBRARY_PATH
environment variable or /etc/ld.so.conf*

You can check which GStreamer it picks up via:

 $ ldd /usr/local/lib/gstreamer-1.0/libgstmyplugin.so | grep
libgstreamer

Cheers
 -Tim

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


More information about the gstreamer-devel mailing list