Greetings,

I'm attempting to build PostGIS 2.4.4, on MacOS 10.12, using MacPorts for the 
various libraries.  The build is currently failing with (while linking 
shp2pgsql):

Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _utf8 in shp2pgsql-core.o
  "_iconv_close", referenced from:
      _utf8 in shp2pgsql-core.o
  "_iconv_open", referenced from:
      _utf8 in shp2pgsql-core.o
ld: symbol(s) not found for architecture x86_64

Some research has revealed that there's an issue with the libiconv that 
MacPorts installs, and one should use the system library, but I haven't had 
success using --with-libiconv-prefix and  --with-libiconv pointing at the 
system library in /usr.  Has anyone done this successfully?

--
-- Christophe Pettus
   [email protected]

_______________________________________________
postgis-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/postgis-users

Reply via email to