Hi Michael,

On Wed, Aug 16, 2017 at 12:10 AM, Eric Hutton <hutton.e...@gmail.com> wrote:
> Hi Michael
>
> It's hard for me to say without seeing which tests are failing but I think
> at least some of those errors are probably due to DYLD_LIBRARY_PATH not
> being set correctly. As far as I can tell, when grass is being tested during
> the make process the tests are run within an environment that has the
> necessary environment variables set (PATH, DYLD_LIBRARY_PATH, GISRC, etc. -
> this is the run_grass command defined in Rules.make). It seems that the
> tests are run in a new environment that doesn't inherit your
> DYLD_LIBRARY_PATH (even if you've exported it). It seems like this might a
> bug? I'm not certain.
>
> To fix some of these errors I manually added $PREFIX/lib to
> DYLD_LIBRARY_PATH for the run_grass command. I did this in Rules.make (line
> 40, for me),
>
>
> $(LD_LIBRARY_PATH_VAR)="$(BIN):$(GISBASE)/bin:$(GISBASE)/scripts:$(ARCH_LIBD
> IR):$(BASE_LIBDIR):$(PREFIX)/lib:$($(LD_LIBRARY_PATH_VAR))"
>
> Or have a look at the attached patch file. Note that for me all of my
> dependencies were installed in $PREFIX/lib.
>
> Eric


Did Eric's patch actually help?

Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to