#13608 closed defect (fixed)
PostGIS fails to link to libiconv
Reported by: | lucas.madar@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.2 |
Keywords: | postgis libiconv | Cc: | frank-lists@…, ryandesign (Ryan Carsten Schmidt) |
Port: |
Description
Running Leopard, latest version of Xcode, and 1.520, I get this:
gcc -g -Wall -I.. -DUSE_ICONV -DUSE_VERSION=82 -DPOSTGIS_VERSION='"1.3.1"' shpopen.o dbfopen.o getopt.o shp2pgsql.o -L/opt/local/lib -liconv -o shp2pgsql Undefined symbols: "_iconv_open", referenced from: _utf8 in shp2pgsql.o "_iconv", referenced from: _utf8 in shp2pgsql.o "_iconv_close", referenced from: _utf8 in shp2pgsql.o
Change History (6)
comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | → Port Bugs |
---|
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | frank-lists@… ryandesign@… added |
---|
comment:3 Changed 17 years ago by matt@…
comment:4 Changed 17 years ago by matt@…
Found a hack that gets things working : http://www.lincolnritter.com/blog/2007/12/04/installing-postgresql-postgis-and-more-on-os-x-leopard/
Basically, it changes the Portfile to use the OS X version of libiconv. This is NOT recommended (for various reasons), but if you're in a hurry it seems to work.
comment:5 Changed 16 years ago by landonf (Landon Fuller)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r37077
Note: See
TracTickets for help on using
tickets.
Fails for me too. Leopard, MacPorts v. 1.600. Tried libiconv @1.11_6 and libiconv @1.12_0
Hacks or workarounds would be accepted in lieu of a proper fix :)