[MacPorts] #13608: PostGIS fails to link to libiconv
#13608: PostGIS fails to link to libiconv -----------------------------------+---------------------------------------- Reporter: lucas.madar@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: postgis libiconv | -----------------------------------+---------------------------------------- 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 }}} -- Ticket URL: <https://svn.macosforge.org/projects/macports/ticket/13608> MacPorts </projects/macports> Ports system for Mac OS
#13608: PostGIS fails to link to libiconv ------------------------------------+--------------------------------------- Reporter: lucas.madar@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: postgis libiconv ------------------------------------+--------------------------------------- Changes (by jmpp@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13608#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13608: PostGIS fails to link to libiconv ------------------------------------+--------------------------------------- Reporter: lucas.madar@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: postgis libiconv ------------------------------------+--------------------------------------- Changes (by ryandesign@macports.org): * cc: frank-lists@auroralux.net, ryandesign@macports.org (added) -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13608#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13608: PostGIS fails to link to libiconv ------------------------------------+--------------------------------------- Reporter: lucas.madar@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: postgis libiconv ------------------------------------+--------------------------------------- Comment (by matt@codetastic.com): 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 :) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13608#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13608: PostGIS fails to link to libiconv ------------------------------------+--------------------------------------- Reporter: lucas.madar@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: postgis libiconv ------------------------------------+--------------------------------------- Comment (by matt@codetastic.com): 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13608#comment:4> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts