[GRASSLIST:2080] Re: [GRASS5] Mac OSX binary install directions

Glynn Clements glynn.clements at virgin.net
Tue Dec 16 23:35:50 EST 2003


Christopher Fonnesbeck wrote:

> I'm using AquaR version 1.8 from within both versions 5.0.2 (OpenOSX) 
> and 5.7 (CVS). It works perfectly simply by calling /usr/local/bin/R 
> from within GRASS, although when I try and run system() commands from 
> within GRASS 5.7 I get iconv library version mismatch errors:
> 
>  > system("g.list rast")
> dyld: g.list version mismatch for library: 
> /usr/local/lib/libiconv.2.dylib (compatibility version of user: 5.0.0 
> greater than library's version: 4.0.0)

Why on earth is g.list using libiconv? The only program which is meant
to be using libiconv is d.text.freetype; that's the only reason that
the iconv checks exist.

Hmm. Is libiconv a dependency of libintl? That would explain it.

Sometime between 5.0.1 and 5.0.2, $(INTLLIB) was added to the
definition of GISLIB in src/CMD/generic/make.mid (5.0/5.3) and
include/Make/Grass.make.in (5.7). This is bogus; $(INTLLIB) should
only be used if --with-nls was used.

The obvious fix is to move the libintl checks so that they are only
performed if --with-nls is used, and so that INTLLIB is empty
otherwise.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list