[lttng-dev] Lttng-UST requires shared libraries

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Sep 18 11:16:51 EDT 2020


----- On Sep 16, 2020, at 3:57 AM, lttng-dev <lttng-dev at lists.lttng.org> wrote: 

> Hello All,
> I'm trying to configure Lttng-UST and disabling shared libraries using the
> option --enable-shared=no.

> I always get an Error that Lttng-UST requires shared libraries enabled.

> Why is this option available if I can't use it ? Is there something I'm missing

This option is only there because it's part of the autotools boilerplate. It has been disabled 
by the lttng-ust project on purpose. 

See README.md: 

"LTTng-UST needs to be a shared library, _even if_ the tracepoint probe provider is statically 
linked into the application." 

Static linking of liblttng-ust has never been a supported use-case, and would require a significant 
design/implementation effort. 

Thanks, 

Mathieu 

> Regards,
> Abdelrahman.

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20200918/c154d4fc/attachment.htm>


More information about the lttng-dev mailing list