* [lttng-dev] Lttng-UST requires shared libraries
@ 2020-09-16 7:57 Abdelrahman Saeed via lttng-dev
2020-09-18 15:16 ` Mathieu Desnoyers via lttng-dev
0 siblings, 1 reply; 2+ messages in thread
From: Abdelrahman Saeed via lttng-dev @ 2020-09-16 7:57 UTC (permalink / raw)
To: lttng-dev
[-- Attachment #1.1: Type: text/plain, Size: 291 bytes --]
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
Regards,
Abdelrahman.
[-- Attachment #1.2: Type: text/html, Size: 431 bytes --]
[-- Attachment #2: Type: text/plain, Size: 156 bytes --]
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [lttng-dev] Lttng-UST requires shared libraries
2020-09-16 7:57 [lttng-dev] Lttng-UST requires shared libraries Abdelrahman Saeed via lttng-dev
@ 2020-09-18 15:16 ` Mathieu Desnoyers via lttng-dev
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers via lttng-dev @ 2020-09-18 15:16 UTC (permalink / raw)
To: Abdelrahman ElShabrawy; +Cc: lttng-dev
[-- Attachment #1.1: Type: text/plain, Size: 1048 bytes --]
----- 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
[-- Attachment #1.2: Type: text/html, Size: 2407 bytes --]
[-- Attachment #2: Type: text/plain, Size: 156 bytes --]
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-18 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 7:57 [lttng-dev] Lttng-UST requires shared libraries Abdelrahman Saeed via lttng-dev
2020-09-18 15:16 ` Mathieu Desnoyers via lttng-dev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).