[GRASSLIST:5161] Re: Debian and Display Manager (was deb. & d.zoom)

Hamish hamish_nospam at yahoo.com
Tue Dec 14 18:45:05 EST 2004


> >Works for me on debian/testing.
> >
> >What is the specific error?
>
> D.zoom works for me too, I made an error and was my intention to say 
> "display Manager" module,
> it works by the command line with "d.dm&"; but if launched with the 
> tcltk interface it does not work.
> No readable error message, just an "xterm" opens and quickly stops.
> I use Debian "woody"-stable-3.0r3 and a compiled from sources grass54.


Could be the dreaded setuid/setgid xterm unsetting $LD_LIBRARY_PATH issue.
see  http://grass.itc.it/pipermail/grass5/2004-October/015723.html


To test, from the GRASS prompt can you try:

G5.4> echo $LD_LIBRARY_PATH
/usr/local/src/grass54/dist.i686-pc-linux-gnu/lib

G5.4> echo $GRASS_WISH 
wish

G5.4> xterm

xterm$ echo $LD_LIBRARY_PATH

xterm$ echo $GRASS_WISH 
wish


Here $LD_LIBRARY_PATH does not survive but other variables do.

This is fixed (I think) in 5.7-cvs.


workaround:
as root, add this path
G5.4> echo $LD_LIBRARY_PATH

to  /etc/ld.so.conf  and run ldconfig.




Hamish




More information about the grass-user mailing list