[postgis-users] shp2pgsql

Paragon Corporation lr at pcorp.us
Fri Jul 16 22:19:49 PDT 2010


 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: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Bob
Pawley
Sent: Friday, July 16, 2010 12:46 PM
To: will at thearete.co.uk; 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" <will at thearete.co.uk>
Sent: Friday, July 16, 2010 9:00 AM
To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
Subject: Re: [postgis-users] shp2pgsql

> Hi Bob,
> 
> On 16 July 2010 16:46, Bob Pawley <rjpawley at shaw.ca> 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
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users





More information about the postgis-users mailing list