OS/X includes it's own iconv, and somehow you're getting a conflict
based on the software you've installed. It looks like you've compiled
against GNU libiconv (hence 'libiconv_open') but are linking against
OSX iconv (which uses plain 'iconv_open').

Hope that helps you track things. Watch what ./configure picks up when
you run it.

P

On Wed, Jun 23, 2010 at 5:16 PM, Guyren G Howe <[email protected]> wrote:
> I had no trouble installing 1.5, but finding out that our project was using 
> 1.4, I did the same steps (presuming I had all the requirements just fine). 
> But make gives me this:
>
> make -C loader
> gcc -g -O2  -fno-common -DPIC  -Wall -Wmissing-prototypes shpopen.o dbfopen.o 
> getopt.o shp2pgsql.o ../liblwgeom/liblwgeom.a -liconv -lm -o shp2pgsql
> Undefined symbols:
>  "_libiconv_open", referenced from:
>      _utf8 in shp2pgsql.o
>  "_libiconv_close", referenced from:
>      _utf8 in shp2pgsql.o
>  "_libiconv", referenced from:
>      _utf8 in shp2pgsql.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> I've installed libiconv, but this hasn't helped. Grateful any assistance.
> _______________________________________________
> postgis-users mailing list
> [email protected]
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to