GRASS FAQ: NVIZ fails

Question:

I am running GRASS on Linux some_distro, I ran into a problem with NVIZ:

"/usr/local/grass5/nviz2.2/NWISH2.2: error loading shared libraries:libtk.so.0
cannot open shared object file:
No such file or directory child process exited normally..."

or

"/usr/local/grass5/nviz2.2/NWISH2.2: error loading shared libraries:libtcl.so.0
cannot open shared object file:
No such file or directory child process exited normally..."
Why?

Answer:

Do you have the tcl and tk libraries installed? This problem appears quite often. NVIZ can't find the libs, maybe because it's renamed in your distribution. You just have to create a softlink to the libs. Example:

cd /usr/libs/
ln -s libtk8.3.so.0 libtk.so.0
The same may be needed with libtcl.xxx.so.

GRASS Development Team
$Date$

Go back to GRASS GIS FAQ...