<div dir="ltr">
<div>Hi Damien,</div><div><br></div><div>With 
GO_LINKSHARED = &quot;&quot; it work fine.</div><div><br></div><div>I&#39;m very new to Go, does it mean that there is a mixing issue in go modules from Yocto and from node_exporter vendor folder, so it links wrongly at runtime?</div><div><br></div><div>Thanks for the quickfix,</div><div>Vincent<br></div><div><br></div><div><br></div><div><br> </div>

</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 27 févr. 2019 à 23:22, Damien Riegel &lt;<a href="mailto:damien.riegel@gmail.com" target="_blank">damien.riegel@gmail.com</a>&gt; a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 27 Feb 2019 at 12:10, Vincent Prince<br>
&lt;<a href="mailto:vincent.prince.fr@gmail.com" target="_blank">vincent.prince.fr@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello everyone,<br>
&gt;<br>
&gt; I&#39;m trying to add node_exporter from Prometheus project to an Intel x86-64 machine.<br>
&gt; I made the following recipe:<br>
&gt;<br>
&gt; <a href="https://github.com/nefethael/meta-random/blob/master/recipes-connectivity/prometheus/go-nodeexporter_0.18.0.bb" rel="noreferrer" target="_blank">https://github.com/nefethael/meta-random/blob/master/recipes-connectivity/prometheus/go-nodeexporter_0.18.0.bb</a><br>
&gt;<br>
&gt; node_exporter is crashing with multiple different runtime errors, so I raised an issue on github:<br>
&gt; <a href="https://github.com/prometheus/node_exporter/issues/1244" rel="noreferrer" target="_blank">https://github.com/prometheus/node_exporter/issues/1244</a><br>
<br>
I&#39;ve faced the same kind of issue with a custom application of ours.<br>
The fix was to add the following line to the recipe:<br>
GO_LINKSHARED = &quot;&quot;<br>
<br>
Let me know if that helps.<br>
<br>
Cheers,<br>
Damien<br>
</blockquote></div>