<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Jonathan,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you so much, it is<span style="background-color:rgb(255, 255, 255);display:inline !important"><span> </span>100% </span>working.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Let's enjoy LTTng !!!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Have a nice day,</div>
<div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:12pt">
<p></p>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com><br>
<b>Envoyé :</b> mercredi 24 mars 2021 20:00<br>
<b>À :</b> MONTET Julien <julien.montet@reseau.eseo.fr><br>
<b>Cc :</b> lttng-dev <lttng-dev@lists.lttng.org><br>
<b>Objet :</b> Re: [lttng-dev] Issues on basic LTTng trace userspace (tutorial)</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Wed, Mar 24, 2021 at 06:55:37PM +0000, MONTET Julien wrote:<br>
> Hi Jonathan,<br>
> <br>
> You are absolutely right !<br>
> I have two different lttng :   find /usr -name "*liblttng-ust*" Ubuntu Pastebin<<a href="https://paste.ubuntu.com/p/NVtXPhj4fW/">https://paste.ubuntu.com/p/NVtXPhj4fW/</a>><br>
<br>
Glad to know that we are making progress.<br>
<br>
> <br>
> According to you, what would be the best solution to solve this issue ?<br>
> I have indeed a folder named lttng-ust where I have made the (wrong) configure / make.<br>
<br>
Go into the lttng folder and do:<br>
  sudo make uninstall<br>
  sudo ldconfig<br>
<br>
> <br>
> <br>
> I tried to (temporary) remove all the libttng* /usr/local/lib/, but I face this problem :<br>
<br>
That should works also.<br>
<br>
> /usr/bin/ld: hello-tp.o: in function `__lttng_events_init__hello_world':<br>
> hello-tp.c:(.text+0xe56): undefined reference to `lttng_ust_probe_register'<br>
> /usr/bin/ld: hello-tp.o: in function `__lttng_events_exit__hello_world':<br>
> hello-tp.c:(.text+0xeb2): undefined reference to `lttng_ust_probe_unregister'<br>
> collect2: error: ld returned 1 exit status<br>
<br>
Did you remove the -L/usr/local/bin flag? There should be no reason to keep it<br>
at this point.<br>
<br>
> <br>
> In the worst case scenario I am able to get my last clean snapchot.<br>
<br>
That is also a good bet :).<br>
<br>
-- <br>
Jonathan Rajotte-Julien<br>
EfficiOS<br>
</div>
</span></font></div>
</body>
</html>