Hi Damien,

With GO_LINKSHARED = "" it work fine.

I'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?

Thanks for the quickfix,
Vincent




Le mer. 27 févr. 2019 à 23:22, Damien Riegel <damien.rie...@gmail.com> a
écrit :

> On Wed, 27 Feb 2019 at 12:10, Vincent Prince
> <vincent.prince...@gmail.com> wrote:
> >
> > Hello everyone,
> >
> > I'm trying to add node_exporter from Prometheus project to an Intel
> x86-64 machine.
> > I made the following recipe:
> >
> >
> https://github.com/nefethael/meta-random/blob/master/recipes-connectivity/prometheus/go-nodeexporter_0.18.0.bb
> >
> > node_exporter is crashing with multiple different runtime errors, so I
> raised an issue on github:
> > https://github.com/prometheus/node_exporter/issues/1244
>
> I've faced the same kind of issue with a custom application of ours.
> The fix was to add the following line to the recipe:
> GO_LINKSHARED = ""
>
> Let me know if that helps.
>
> Cheers,
> Damien
>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to