----- On Sep 16, 2020, at 3:57 AM, lttng-dev <lttng-dev@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@lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to