[GRASS-dev] Mac Compilation issue (iconv)

Yann Chemin ychemin at gmail.com
Sat Apr 18 14:26:25 PDT 2015


Hi,

facing a little issue with iconv on Mac.
Anybody experienced this before?

YMP:/lib/driver yann$ make
cc -dynamiclib -compatibility_version 7.1 -current_version 7.1 -install_name /Applications/GRASS-7.1.app/Contents/MacOS/lib/libgrass_driver.7.1.svn.dylib -o /Users/yann/dev/grass_yann/dist.x86_64-apple-darwin14.3.0/lib/libgrass_driver.7.1.svn.dylib -L/Users/yann/dev/grass_yann/dist.x86_64-apple-darwin14.3.0/lib -L/Users/yann/dev/grass_yann/dist.x86_64-apple-darwin14.3.0/lib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk   -L/sw/lib/gcc4.9/lib/gcc/x86_64-apple-darwin14.1.0/4.9.2   OBJ.x86_64-apple-darwin14.3.0/font2.o OBJ.x86_64-apple-darwin14.3.0/set_window.o OBJ.x86_64-apple-darwin14.3.0/raster.o OBJ.x86_64-apple-darwin14.3.0/text_size.o OBJ.x86_64-apple-darwin14.3.0/parse_ftcap.o OBJ.x86_64-apple-darwin14.3.0/color.o OBJ.x86_64-apple-darwin14.3.0/text2.o OBJ.x86_64-apple-darwin14.3.0/font.o OBJ.x86_64-apple-darwin14.3.0/erase.o OBJ.x86_64-apple-darwin14.3.0/font_freetype.o OBJ.x86_64-apple-darwin14.3.0/line_width.o OBJ.x86_64-apple-darwin14.3.0/path.o OBJ.x86_64-apple-darwin14.3.0/text.o OBJ.x86_64-apple-darwin14.3.0/draw.o OBJ.x86_64-apple-darwin14.3.0/box.o OBJ.x86_64-apple-darwin14.3.0/graph.o OBJ.x86_64-apple-darwin14.3.0/init.o OBJ.x86_64-apple-darwin14.3.0/move.o OBJ.x86_64-apple-darwin14.3.0/get_t_box.o OBJ.x86_64-apple-darwin14.3.0/text3.o  -lgrass_gis.7.1.svn -L/sw/lib -lfreetype  -liconv  
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
collect2: error: ld returned 1 exit status
../../include/Make/Shlib.make:10: recipe for target '/Users/yann/dev/grass_yann/dist.x86_64-apple-darwin14.3.0/lib/libgrass_driver.7.1.svn.dylib' failed
make: *** [/Users/yann/dev/grass_yann/dist.x86_64-apple-darwin14.3.0/lib/libgrass_driver.7.1.svn.dylib] Error 1



More information about the grass-dev mailing list