gst-inspect-1.0: undefined symbol: gst_tracer_factory_get_type

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

gst-inspect-1.0: undefined symbol: gst_tracer_factory_get_type

palash
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
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect-1.0: undefined symbol: gst_tracer_factory_get_type

Tim Müller
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect-1.0: undefined symbol: gst_tracer_factory_get_type

palash
Tim Müller wrote
You can check which GStreamer it picks up via:

 $ ldd /usr/local/lib/gstreamer-1.0/libgstmyplugin.so | grep
libgstreamer
Above command is showing following:

libgstreamer-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgstreamer-1.0.so.0

First I installed gstreamer-0.10 then installed gstreamer-1.0 but I have uninstalled the gstreamer-0.10.
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect-1.0: undefined symbol: gst_tracer_factory_get_type

palash
In reply to this post by Tim Müller
Thanks Tim, the library path was the problem. I tried with a fresh setup and it worked fine.

Tim Müller wrote
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel