[GRASS5] Debian and d.m/d.zoom bug - /etc/ld.so.conf
Markus Neteler
neteler at itc.it
Tue Nov 30 12:12:33 EST 2004
Hi,
from Paolo C. I got temporary access to a Debian box
to check the problem with d.zoom in the display manager.
The idea is to avoid the /etc/ld/so.conf hack which is
necessary to make d.m/d.zoom functional:
See:
http://grass.itc.it/pipermail/grassuser/2004-November/027112.html
First test:
echo $LD_LIBRARY_PATH
/usr/local/grass5.7.cvs-i686-pc-linux-gnu-25_11_2004/lib
...looks ok. Ans this directory contains the libs.
I found out so far:
- d.zoom on CMD line works;
- d.m/d.zoom (icon) fails: for microseconds the requested terminal
is opened, then it closes. no error message.
Looking into the code, I found that in effect next line is executed
in the display manager:
xterm -e d.zoom
Running this command on command line provides the same undesired
behaviour (immediate closing of xterm after launching).
Interestingly, when running
strace xterm -e d.zoom
it works!
ldd `which strace`
libc.so.6 => /lib/tls/libc.so.6 (0x41019000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x41000000)
doesn't report anything special,
nor:
ldd `which xterm`
libXft.so.2 => /usr/lib/libXft.so.2 (0x415c0000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x416b2000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41643000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x416db000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x415e9000)
libXaw.so.7 => /usr/X11R6/lib/libXaw.so.7 (0x40014000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40071000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x419ce000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x41a3c000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x41a23000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40088000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41633000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x414df000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40098000)
libc.so.6 => /lib/tls/libc.so.6 (0x41019000)
libz.so.1 => /usr/lib/libz.so.1 (0x4161f000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x4117b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x41000000)
Any suggestions how to proceed? Maybe the xterm doesn't work as
desired under Debian (why does it then with strace)?
Markus
More information about the grass-dev
mailing list