[GRASS5] Re: [GRASSLIST:1962] Re: (DY)LD_LIBRARY_PATH
Glynn Clements
glynn.clements at virgin.net
Mon Dec 8 11:51:32 EST 2003
Paul Kelly wrote:
> > Would the solution be to make init.sh init.src instead, and the Makefile
> > in lib/init can create init.sh from init.src by doing a sed command to
> > substitute in the proper value of LD_LIBRARY_PATH_VER (which would be set
> > in Platform.make probably)? Something like how the binary install script
> > is generated?
>
> I looked again and realised it would be better to put this stuff into the
> grass57 startup script as it's already generated in this way. I also found
> a bug in which the GRASS_PERL variable wasn't substituted as it was in
> init.sh, so I moved it into grass57.
That's the wrong fix. The grass57 script should simply set GISBASE
then run Init.sh. All of the actual work should be in one place. The
correct fix is to fix the Makefile to perform the substitution in the
correct file (init.sh -> Init.sh).
> It must have only been being used during compilation though or
> someone would have found this before.
I noted this w.r.t. 5.0.3/5.3 in:
From: Glynn Clements <glynn.clements at virgin.net>
Subject: Re: [GRASS5] GRASS 5.0.3 release candidate 5 (RC5) available
Date: Thu, 30 Oct 2003 04:11:50 +0000
Message-ID: <16288.36742.318582.531314 at cerise.nosuchdomain.co.uk>
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list