Wed, Jun 23 2004
09:11:55
|
|
Request created by guest
|
|
Subject: nviz starup problem still remains(resolved bug 2471)
Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Downloaded precompiled Binaries
My platform is Redhat linux 9.0
Using Precomplied binaries grass5.0.3
I followed the procedure as given in " Resolved bug report 2471" but it didnt
work.
My error is
GRASS:~ > nviz
/usr/local/grass5/etc/nviz2.2/NVWISH2.2: error while loading shared libraries:
libtk.so.0: cannot open shared object file: No such file or directory
child process exited abnormally
while executing
"exec /usr/local/grass5/etc/nviz2.2/NVWISH2.2 -f /usr/local/grass5/etc/nviz2.2/scripts/nviz2.2_scrip
t
-name NVIZ >&@stdout"
("eval" body line 1)
invoked from within
"eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f $env(GISBASE)/etc/nviz2.2/scripts/nviz2.2_script
-name NVIZ >&@stdout"
invoked from within
"if {$argv == ""} {
#no arguments
eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f $env(GISBASE)/etc/nviz2.2/scripts/nviz2.2_script
-name NVIZ >&@stdo..."
(file "/usr/local/grass5/bin/nviz" line 16)
Please help me out
Ovais |
|
Wed, Aug 11 2004
16:03:55
|
|
Mail sent by mneteler
|
|
In some distributions (e.g. Debian, Mandrake) the names of libraries are
slightly different. Check, and if there is no file of the name:
libtk.so.0
libtcl.so.0
libpq.so.2
libgdal.so.1
libdfftw.so.2
then you should type:
su
ln -s /usr/lib/libtk.so /usr/lib/libtk.so.0
ln -s /usr/lib/libtcl.so /usr/lib/libtcl.so.0
ln -s /usr/lib/libpq.so.3 /usr/lib/libpq.so.2
ln -s /usr/lib/libgdal.1.1.so /usr/lib/libgdal.so.1
ln -s /usr/lib/libfftw.so.2 /usr/lib/libdfftw.so.2
ldconfig
As a first argument, you should put the names of the libraries you have in
your distribution.
Instead of (or in addition to) libtk.so and libtcl.so, you might have
libtk8.3.so and libtcl8.3.so (or libtk8.4.so and libtcl8.4.so). In this case,
type instead:
ln -s /usr/lib/libtk8.3.so /usr/lib/libtk.so.0
ln -s /usr/lib/libtcl8.3.so /usr/lib/libtcl.so.0
ldconfig
|
|
Wed, Aug 11 2004
16:03:59
|
|
Status changed to resolved by mneteler
|
|