[GRASS-user] libiconv compile error

Micha Silver micha at arava.co.il
Tue Feb 13 11:42:11 EST 2007


I'm trying to compile 6.2.0 on a Centos 4.3 box, and getting a bunch of 
errors with libiconv:


/home/micha/download/gis/grass-6.2.0/dist.i686-pc-linux-gnu/lib/libgrass_driver.so: 
undefined reference to `libiconv_open'

/home/micha/download/gis/grass-6.2.0/dist.i686-pc-linux-gnu/lib/libgrass_driver.so: 
undefined reference to `libiconv_close'
/home/micha/download/gis/grass-6.2.0/dist.i686-pc-linux-gnu/lib/libgrass_driver.so: 
undefined reference to `libiconv'


I don't remember having this problem with 6.0 or 6.1, and I've got GRASS 
6.2.0 running fine on other  FC5 and FC6 machines.


I have libiconv in /usr/local/lib:

[micha at akev drivers]$ ll /usr/local/lib/libiconv*
-rw-r--r--  1 root root     780 Jun  4  2006 /usr/local/lib/libiconv.la
-rw-r--r--  1 root root 1102027 Jun  4  2006 /usr/local/lib/libiconv_plug.so
lrwxrwxrwx  1 root root      17 Jun  4  2006 /usr/local/lib/libiconv.so 
-> libiconv.so.2.2.0
lrwxrwxrwx  1 root root      17 Jun  4  2006 
/usr/local/lib/libiconv.so.2 -> libiconv.so.2.2.0
-rw-r--r--  1 root root 1104348 Jun  4  2006 
/usr/local/lib/libiconv.so.2.2.0

I tried running ./configure without the --with-freetype option, but that 
didn't help. Any ideas what I can do to get past this?


Thanks,

Micha




More information about the grass-user mailing list