[GRASS-user] libiconv compile error
Glynn Clements
glynn at gclements.plus.com
Tue Feb 13 15:13:56 EST 2007
Micha Silver wrote:
> 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:
That's the problem.
If you're using Linux, you should be using the iconv implementation
which is included in GNU libc. Installing a stand-alone iconv library
will result in conflicts with the version in libc.
> Any ideas what I can do to get past this?
Uninstall libiconv.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list