I'm currently using GPUs on an Ubuntu server to run machine learning models. I often like to use the watch command in order to monitor the GPU statuses like watch -n 1 nvidia-smi. It usually works fine, but I noticed that for one of the servers I get the error:
watch: /usr/local/lib/libncursesw.so.6: no version information available (required by watch)
watch: /usr/local/lib/libncursesw.so.6: no version information available (required by watch)
Segmentation fault (core dumped)
I've tried sudo apt-get install libncursesw6 and get libncursesw6 is already the newest version (6.2-0ubuntu2)..
Is there anything else I can do to fix this error?
Edit
The output of lddtree $PATH_TO_WATCH is:
watch => /usr/bin/watch (interpreter => /lib64/ld-linux-x86-64.so.2)
libncursesw.so.6 => /usr/local/lib/libncursesw.so.6
libtinfow.so.6 => /usr/local/lib/./libtinfow.so.6
libtinfo.so.6 => /usr/local/lib/libtinfo.so.6
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
watchwork with any other command? What happens if you run something likewatch ls? – terdon Oct 17 '22 at 09:09lddtreeinstalled so I can't answer your question. – Sean Oct 17 '22 at 11:22watch ls. :( – Sean Oct 17 '22 at 11:23pax-utilswhich enabled thelddtreecommand. I'll edit the output in the OP. – Sean Oct 17 '22 at 21:06procpsit says that the newest version (2:3.3.16-1ubuntu2.3) is already installed. – Sean Oct 17 '22 at 21:16