Details Ticket 2471


Comment | Reply | Take | Open


Serial Number 2471
Subject nviz startup
Area bug
Queue grass
Requestors ovaisim@hotmail.com
Owner none
Status resolved
Last User Contact Thu Jun 10 02:40:47 2004 (4 yr ago)
Current Priority 70
Final Priority 70
Due No date assigned
Last Action Mon Jun 21 17:20:47 2004 (4 yr ago)
Created Wed Jun 9 22:33:59 2004 (4 yr ago)

Transaction History Ticket 2471


Wed, Jun 9 2004 22:33:59    Request created by guest  
Subject: nviz startup

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Downloaded precompiled Binaries

I am using Red Hat Linux 9.0
When I write nviz at grass prompt I have this error:
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
                                     Ovais
Thu, Jun 10 2004 02:40:47    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 10 Jun 2004 12:40:35 +1200
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass list <GRASSLIST@baylor.edu>
Subject Re: [GRASS5] [bug #2471] (grass) nviz startup
Message-Id <20040610124035.16ef056e.hamish_nospam@yahoo.com>
In-Reply-To <20040609203359.F30DD13A08@lists.intevation.de>
References <20040609203359.F30DD13A08@lists.intevation.de>
X-Mailer Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-scanner scanned by Inflex 1.0.12.7
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> Subject: nviz startup
>
> I am using Red Hat Linux 9.0
>
> When I write nviz at grass prompt I have this error:
>
> 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


NVIZ works fine for me on Red Hat Linux 9.0.


here are some compiling hints:

RH 9.0 reqs:
 use "rpm -q PACKAGE" to test, 
 then "rpm -Uvh PACKAGE-1.2.3-4.i386.rpm" to install..

postgresql
postgresql-odbc
postgresql-server
postgresql-devel
unixODBC
unixODBC-devel
lesstif
lesstif-devel
blas
lapack
readline
libjpeg
libjpeg-devel
libtiff
libtiff-devel
libpng
libpng-devel
#gd     get v2.0 from rawhide.redhat.com  (needed for GRASS 5.0 ONLY)
#gd-devel
tk
XFree86-Mesa-libGL2
XFree86-Mesa-libGLU
XFree86-devel2
gdbm-devel
postfix
freetype-devel


Also need to compile:
fftw-2.1.5
PROJ.4:  http://www.remotesensing.org/proj
GDAL:    http://www.remotesensing.org/gdal

After compiling & installing those, edit /etc/ld.so.conf and put 
/usr/local/lib as the last line in the file.

Then run  '/sbin/ldconfig'  to allow other programs to see your 
new libraries.



GRASS 5.3 on Redhat 9.0 with a Pentium 4 based processor:

CFLAGS="-O3 -march=pentium4 -Wall" LDFLAGS="-s" ./configure \
        --with-postgres-includes=/usr/include/pgsql/server \
        --with-motif \
        --with-motif-includes=/usr/X11R6/LessTif/Motif1.2/include/ \
        --with-motif-libs=/usr/X11R6/LessTif/Motif1.2/lib/ \
        --with-blas --with-lapack \
        --with-glw \
        --with-freetype \
        --with-freetype-includes=/usr/include/freetype2 \
        --with-cxx --with-gdal --with-proj
$ make
# make install


need cludge to get readline working. Run config without, then do
http://article.gmane.org/gmane.comp.gis.grass.user/1000
------------------------------------------------------------------
OK; it's a known problem. At present, the only workaround is to
manually edit src/CMD/head/head, e.g.

        READLINELIB         = -lreadline -lncurses

and src/include/config.h, e.g.

        /* define if readline exists */
        #define HAVE_READLINE_READLINE_H 1

------------------------------------------------------------------
But it isn't critical.



good luck,
Hamish


Mon, Jun 21 2004 17:20:47    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request