Bob, Copy is better. So copy the file as William said, and rename the new copy libiconv2.dll.
Some programs refer to it by libiconv-2.dll and some as libiconv2.dll. It's a complicated story, but they are generally interchangeable. However if you simply rename the existing, you'll break some other application. Its sounds like you are running an older shp2pgsql though because I think in later versions we changed to libiconv-2.dll to be consistent with PostgreSQL windows build Can you when you have your system working, at dos prompt do a shp2pgsql And let us know the version number it returns at top. It's the part that reads like RCSID: $Id: shp2pgsql-core.h 5098 2010-01-04 05:47:04Z pramsey $ RELEASE: 1.5 USE_GEOS=1 USE_PROJ=1 USE_STATS=1 Thanks, Leo and Regina http://www.postgis.us -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bob Pawley Sent: Friday, July 16, 2010 12:46 PM To: [email protected]; PostGIS Users Discussion Subject: Re: [postgis-users] shp2pgsql I'm not sure what you mean by - "copy libiconv-2.dll to > libiconv2.dll." Do you mean rename?? Bob -------------------------------------------------- From: "William Furnass" <[email protected]> Sent: Friday, July 16, 2010 9:00 AM To: "PostGIS Users Discussion" <[email protected]> Subject: Re: [postgis-users] shp2pgsql > Hi Bob, > > On 16 July 2010 16:46, Bob Pawley <[email protected]> wrote: >> >> I just attempted to use shp2pgsql and received an error message about >> libiconv2.dll not being installed on my computer. > > If you've got PostgreSQL installed then you should already have a copy > of the library. Find the 'bin' directory within your PostgreSQL > installation e.g. C:\PostgreSQL\8.4\bin and copy libiconv-2.dll to > libiconv2.dll. Also, make sure that your PATH variable includes that > 'bin' directory (check with 'echo %PATH%' from a DOS prompt). > > HTH, > > Will > _______________________________________________ > 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 _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
