<div dir="ltr">Thank you so much Uli, that fixed it!<div><br></div><div>I'd be happy to report further if there's anything that I can look up as to why the link might have been missing.</div><div><br></div><div>I don't know if it will be of general/debugging interest, however, because my workstation's yum is not the most healthy state:  I've followed some bad advice from dodgy internet "how tos" in the past, e.g. installing a kernel beyond the level supported by CentOS, which I've backtracked from. Each kernel change requires reinstalling Nvidia drivers.</div><div><br></div><div>Currently, yum update generates the following errors, which might be related:</div><div><br></div><div><div><div>yum update</div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div>Loaded plugins: fastestmirror, langpacks, versionlock</div></div></div><div><div>Loading mirror speeds from cached hostfile</div></div><div><div> * base: <a href="http://reflector.westga.edu">reflector.westga.edu</a></div></div><div><div> * elrepo: <a href="http://reflector.westga.edu">reflector.westga.edu</a></div></div><div><div> * epel: <a href="http://mirror.team-cymru.com">mirror.team-cymru.com</a></div></div><div><div> * extras: <a href="http://centos.mirrors.tds.net">centos.mirrors.tds.net</a></div></div><div><div> * nux-dextop: <a href="http://mirror.li.nux.ro">mirror.li.nux.ro</a></div></div><div><div> * updates: <a href="http://centos.servint.com">centos.servint.com</a></div></div><div><div>Resolving Dependencies</div></div><div><div>--> Running transaction check</div></div><div><div>---> Package xorg-x11-drv-nvidia.x86_64 1:352.99-1.el7 will be updated</div></div><div><div>---> Package xorg-x11-drv-nvidia.x86_64 1:396.44-1.el7 will be an update</div></div><div><div>--> Processing Dependency: nvidia-kmod >= 1:396.44 for package: 1:xorg-x11-drv-nvidia-396.44-1.el7.x86_64</div></div><div><div>---> Package xorg-x11-drv-nvidia-devel.x86_64 1:352.99-1.el7 will be updated</div></div><div><div>---> Package xorg-x11-drv-nvidia-devel.x86_64 1:396.44-1.el7 will be an update</div></div><div><div>---> Package xorg-x11-drv-nvidia-gl.x86_64 1:352.99-1.el7 will be updated</div></div><div><div>---> Package xorg-x11-drv-nvidia-gl.x86_64 1:396.44-1.el7 will be an update</div></div><div><div>---> Package xorg-x11-drv-nvidia-libs.x86_64 1:352.99-1.el7 will be updated</div></div><div><div>---> Package xorg-x11-drv-nvidia-libs.x86_64 1:396.44-1.el7 will be an update</div></div><div><div>--> Finished Dependency Resolution</div></div><div><div>Error: Package: 1:xorg-x11-drv-nvidia-396.44-1.el7.x86_64 (cuda)</div></div><div><div>           Requires: nvidia-kmod >= 1:396.44</div></div><div><div>           Installed: 1:nvidia-kmod-352.99-2.el7.x86_64 (@cuda)</div></div><div><div>               nvidia-kmod = 1:352.99-2.el7</div></div><div><div>           Available: kmod-nvidia-390.67-1.el7_5.elrepo.x86_64 (elrepo)</div></div><div><div>               nvidia-kmod = 390.67-1.el7_5.elrepo</div></div><div><div>           Available: kmod-nvidia-390.77-1.el7_5.elrepo.x86_64 (elrepo)</div></div><div><div>               nvidia-kmod = 390.77-1.el7_5.elrepo</div></div><div><div> You could try using --skip-broken to work around the problem</div></div><div><div> You could try running: rpm -Va --nofiles --nodigest</div></div></blockquote><div><br></div><div><br></div><div>Thanks again, best, A.</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 20, 2018 at 1:43 PM, Ulrich Sibiller <span dir="ltr"><<a href="mailto:uli42@gmx.de" target="_blank">uli42@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Aug 20, 2018 at 8:17 PM, Alec Bayo <<a href="mailto:alec.bayo@gmail.com">alec.bayo@gmail.com</a>> wrote:<br>
> Thanks for the reply Uli. Pasted output below<br>
><br>
> Also, I was scratching my head some more after sending the previous email.<br>
> Would I run the two lines below to add these links manually? Or should I do<br>
> something more/else?<br>
><br>
> ln -s /usr/lib64/libNX_X11.so.6     /usr/lib64/nx/X11/libX11.so.6<br>
> ln -s /usr/lib64/libNX_X11.so.6.3.0 /usr/lib64/nx/X11/libX11.so.6.<wbr>3.0<br>
<br>
</span>No, this would just be wrong!<br>
<span class=""><br>
<br>
> $ ldd /usr/bin/nxagent<br>
> linux-vdso.so.1 =>  (0x00007ffe21fc2000)<br>
> libtirpc.so.1 => /lib64/libtirpc.so.1 (0x00007fa9d1cd4000)<br>
> libX11.so.6 => /lib64/libX11.so.6 (0x00007fa9d1995000)<br>
</span>...<br>
> libNX_X11.so.6 => /lib64/libNX_X11.so.6 (0x00007fa9d04c9000)<br>
<br>
An here's the problem. You should never see both libs in the ldd<br>
output. NX brings libNX_X11 but does not directly require it<br>
(linker-wise). Instead it requires a libX11.so.6. There must be a link<br>
in an NX related dir (I don't know the exact path on CentOS/RHEL and<br>
cannot look that up atm). That link must be named libX11.so.6 and<br>
point to libNX_X11.so.6.<br>
<br>
It is a trick that is required to ensure the other X11 libs (that are<br>
required by NX) who require a libX11.so.6 themselves use the NX<br>
variant of the lib instead of the one from the system (which would<br>
break NX).<br>
<br>
Now try objdump -x /usr/bin/nxagent. Grep for RUNPATH in the output<br>
and you will find the directory where to put the missing link. In that<br>
directory run<br>
<br>
ln -s /lib64/libNX_X11.so.6 libX11.so.6<br>
<br>
This should fix it.<br>
<br>
It would be interesting to know the reason for the missing link.<br>
<br>
Uli<br>
</blockquote></div><br></div></div>