[postgis-users] upgrading from Pg 8.4.4/Pgis 1.4 to 9.03/1.5.2

Puneet Kishor punk.kish at gmail.com
Tue Feb 15 16:13:22 PST 2011


replying to my own query, for the archives --
On Tuesday, February 15, 2011 at 2:00 PM, Puneet Kishor wrote: 
> on Mac OS X 10.6.6. 
> 
> Pg upgraded fine. make on Postgis croaks with
> 
> Undefined symbols:
> "_libiconv_open", referenced from:
> _utf8 in shp2pgsql-core.o
> "_libiconv_close", referenced from:
> _utf8 in shp2pgsql-core.o
> _utf8 in shp2pgsql-core.o
> "_libiconv", referenced from:
> _utf8 in shp2pgsql-core.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [shp2pgsql] Error 1
> make: *** [loaderdumper] Error 2
> 
> suggestions?
> 
> 
> 
The problem was with the libiconv that came with the previous system (upgraded from 32-bit to 64-bit). Removing the old versions, and installing new version of libiconv solved the problem. 



More information about the postgis-users mailing list