My system is Windows 7 with PostgreSQL 9.4 and PostGIS 2.2.
I'm running shp2pgsql program from command line (cmd window, not PSQL interface).
shp2pgsql "D:\file.shp" schema.table > file.sql
I'm getting the following error message (sorry this is in french but it says System error: the programme cannot start for libiconv-2.dll file is missing on the computer. Try to reinstall the program in order to fix the bug):
I have then completely reinstalled PostgreSQL 9.4 and PostGIS 2.2. The
libiconv-2.dll is properly installed inside the bin directory (C:\Program Files\PostgreSQL\9.4\bin). I don't understand why this file is not found on the computer and I don't know what else I could do...