[FreeNX-kNX] /usr/NX/lib not in search path (libXcomp.so.3 problem)
cognitive.libertarian+ml at gmail.com
cognitive.libertarian+ml at gmail.com
Fri Apr 22 18:31:14 UTC 2011
nxagent reports:
/usr/bin/nxagent: error while loading shared libraries: libXcomp.so.3: cannot open shared object file: No such file or directory
This file exists in /usr/NX/lib. But when searching the library
cache, no nx libs are found. This command has no output:
$ ldconfig -p | grep NX
Before discovering the /usr/NX/lib folder, I actually built
libXcomp.so.3 and placed it in /usr/lib, then added it to the cache
using this process:
$ ln -s /usr/local/nx/nxcomp/libXcomp.so /usr/lib/libXcomp.so
$ ln -s /usr/local/nx/nxcomp/libXcomp.so.3 /usr/lib/libXcomp.so.3
$ ln -s /usr/local/nx/nxcomp/libXcomp.so.3.4.0 /usr/lib/libXcomp.so.3.4.0
$ ldconfig /usr/local/nx/nxcomp/libXcomp*
$ ldconfig /usr/lib/libXcomp*
When running "ldd nxagent", it now shows that libXcomp.so.3 is found.
However, the nxagent executable still does not find the library, which
now exists in these three locations:
/usr/lib/
/usr/NX/lib
/usr/local/nx/nxcomp/
Where does the library need to appear?
More information about the FreeNX-kNX
mailing list