[GRASS-dev] Re: [GRASS GIS] #1073: G_fatal_error segfault outside
of GRASS session
GRASS GIS
trac at osgeo.org
Wed Jan 18 05:46:30 EST 2012
#1073: G_fatal_error segfault outside of GRASS session
-----------------------------+----------------------------------------------
Reporter: kyngchaos | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: LibGIS | Version: 6.4.0 RCs
Keywords: G_fatal_error() | Platform: MacOSX
Cpu: OSX/Intel |
-----------------------------+----------------------------------------------
Comment(by glynn):
Replying to [comment:2 hamish]:
> I get a complaint about "error while loading shared libraries, cannot
open shared object file: No such file or directory" if I try to run a C
module outside of a GRASS session.
That's to be expected; the loader needs LD_LIBRARY_PATH (DYLD_LIBRARY_PATH
on OSX, PATH on Windows) to be set in order to locate the GRASS libraries.
To check for this specific issue, either set PATH and LD_LIBRARY_PATH
(etc) manually, or start a GRASS session then manually unset GISBASE and
GISRC with:
{{{
export -n GISBASE GISRC
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1073#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list