Static build fails to load libnice elements

Olivier Crête olivier.crete at collabora.com
Thu Mar 4 23:47:33 UTC 2021


Hi,

Those symbols are from the library, not from the plugin. The simple
reason the libnice plugin isn't included is that I think you need to do
some meson magic inside the libnice build system to make it be
included... and, with my libnice maintainer hat on, I have no idea what
this is, so merge requests are welcome ;)

Olivier

On Thu, 2021-03-04 at 23:25 +0000, Aaron Clauson wrote:
> > I'm pretty sure that the libnice elements don't get included in
> libgstreamer-full, you have to link them separately as they're not
> officially part of GStreamer.
> 
> Thanks,
> 
> But why would libnice be treated differently from any other plugin?
> 
> A quick comparison of the symbols in libnice.so and related symbols
> in libgstreamer-full-1.0.so does seem to show that at least some of
> the libnice symbols are being pulled in.
> 
> For example. From libnice.so:
> 
> 000000000000b630 T nice_address_copy_to_sockaddr
> 000000000000b840 T nice_address_dup
> 000000000000b760 T nice_address_equal
> 000000000000b9f0 T nice_address_equal_no_port
> ...
> 0000000000037380 T stun_agent_build_unknown_attributes_error
> 00000000000360b0 T stun_agent_default_validater
> 0000000000036e90 T stun_agent_finish_message
> 0000000000036a80 T stun_agent_forget_transaction
> 0000000000036060 T stun_agent_init
> ...
> 
> From libgstreamer-full-1.0.so:
> 
> 0000000000cb1c40 t nice_address_copy_to_sockaddr
> 0000000000cb1e50 t nice_address_dup
> 0000000000cb1d70 t nice_address_equal
> 0000000000cb2010 t nice_address_equal_no_port
> ...
> 0000000000cde970 t stun_agent_build_unknown_attributes_error
> 0000000000cdd650 t stun_agent_default_validater
> 0000000000cdd4b0 t stun_agent_find_unknowns.isra.0
> 0000000000cde480 t stun_agent_finish_message
> 0000000000cde070 t stun_agent_forget_transaction
> 0000000000cdd600 t stun_agent_init
> ...
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Olivier Crête
olivier.crete at collabora.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210304/ee8f86f7/attachment.htm>


More information about the gstreamer-devel mailing list