[GRASS-dev] New attempt to update GRASS for Mac

Moritz Lennert mlennert at club.worldonline.be
Thu Aug 3 23:56:02 PDT 2017


On 04/08/17 00:33, Vaclav Petras wrote:
> Well, the error (below) suggests that wrong library is either linked or 
> included. You need to go through the -L and -I paths and see if you need 
> to set one of these differently or add additional one for iconv. I don't 
> see how to set this through ./configure (I don't see any 
> --with-iconv-includes= or --with-iconv-libs=), but you can start by 
> editing the Makefiles or the command itself and changing -L and -I directly.
> 
> 
> Undefined symbols for architecture x86_64:
>    "_iconv", referenced from:
>        _draw_main in text3.o
>    "_iconv_close", referenced from:
>        _draw_main in text3.o
>    "_iconv_open", referenced from:
>        _draw_main in text3.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> 

Just guessing: Could the error be linked to the use of clang ? Have you 
tried with gcc ?

Moritz


More information about the grass-dev mailing list