[GRASS-dev] testing d.thematic.area - problem

Glynn Clements glynn at gclements.plus.com
Tue Aug 12 18:49:26 EDT 2008


Markus Neteler wrote:

> > I just tried out d.thematic.area from develbranch_6 (updated from svn last
> > night).
> > It compiled without error, but failed on running with the following message:
> >  dyld: lazy symbol binding failed: Symbol not found: _G_gisinit
> >   Referenced from:
> > /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
> >   Expected in:
> > /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
> > dyld: Symbol not found: _G_gisinit
> >   Referenced from:
> > /Applications/Grass/GRASS-6.4.app/Contents/MacOS/bin/d.thematic.area
> >   Expected in:
> > /Applications/Grass/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
> 
> the G_gisinit symbol thing was introduced the other day (backport, to
> ensure that compatible GIS libraries are used).
> 
> Perhaps you have an old libgis hanging around somewhere?

It's the other way around. It's trying to use an old gis.h with a new
libgis.

The new libgis doesn't have G_gisinit(), only G__gisinit() (with two
underscores, and an extra argument). The new gis.h has a G_gisinit()
macro:

	#define G_gisinit(pgm) G__gisinit(GIS_H_VERSION, (pgm))

If a binary has a reference to G_gisinit() (as d.thematic.area does
above), it was compiled with the old version of gis.h.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list