[GRASS5] v.out.ascii: Segmentation fault

Jachym Cepicky jachym.cepicky at centrum.cz
Wed Dec 1 08:06:41 EST 2004


On Wed, Dec 01, 2004 at 10:32:36AM +0000, Glynn Clements wrote:
> 
> Hamish wrote:
> 
> > > > Now I see: It's the "famous" mysterious (to me) Debian problem:
> > > > 
> > > > For some unknown reasons Debian users have to add to
> > > > /etc/ld.so.conf
> > > > 
> > > > the directory of the GRASS libs, here:
> > > > /usr/local/grass-5.7.cvs/lib
> > > > 
> > > > and run
> > > > ldconfig
> > > > 
> > > > I would like to know that solved but have no idea why Debian behaves
> > > > like this (reported earlier by other Debian/GRASS users).
> > 
> > As Glynn pointed out a few weeks ago, as a security precaution Debian's
> > xterm does not export $LD_LIBRARY_PATH to child processes.
> 
> Actually, the loader (ld-linux.so.*) explicitly removes certain
> environment variables (including LD_LIBRARY_PATH) when running any
> setuid/setgid executable. xterm is often setuid/setgid (although this
> isn't strictly necessary with recent versions of glibc).
> 
> However, when you start GRASS, the etc/Init.sh script should set
> LD_LIBRARY_PATH itself. Any GRASS modules which are run from that
> shell should use that setting.
> 
> It's primarily an issue for tcltkgrass and d.m, as running
> "xterm -e <command>" (i.e. the "term" procedure) will result in the
> command being run with LD_LIBRARY_PATH unset.
> 
> -- 
> Glynn Clements <glynn at gclements.plus.com>
> 
I would like just to note, that I use aterm

Jachym

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://www.fle.czu.cz/~jachym/gnupg_public_key/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20041201/3dc92e3c/attachment.bin


More information about the grass-dev mailing list