Closed hmaarrfk closed 2 years ago
Hello @hmaarrfk,
Could you please elaborate on what symbol from librt is necessary for nvtop? I don't seem to be needing it on my workstation, but it might be needed on others.
Here is a fuller log.
I guess from what I've seen, certain distributions will link with rt by default.
However, others still ask for it to be explicigely stated.
This is the error message that appears without the proposed patch
See build process here:
So that symbol is clock_gettime
(glibc <= 2.17)
I guess I is an old version of glibc. I forget if 2.17 or 2.12.
Hmm thank you for educating me.
It seems that by default we do indeed compile for 2.12
There seem to be some disadvantages to linking to rt including the implicit dependency and usage of pthreads.
I updated to 2.17 instead which i think is warranted for this particular package.
I guess I'm trying to build on some platforms where
rt
isn't linked to automatically.I think this is the correct way to get things to work.