I am trying to import shapefile to PostGIS. I have problem configuring shp2pgsql.
I am getting this error :
dyld: Library not loaded: @loader_path/../lib/liblwgeom-2.1.1.dylib Referenced from: /Library/PostgreSQL/9.3/bin/shp2pgsql Reason: image not found
I am trying to explore where the command is:
macbook$ locate shp2pgsql /Library/PostgreSQL/9.3/PostGIS/man/shp2pgsql.1 /Library/PostgreSQL/9.3/bin/shp2pgsql macbook$ ls /usr/bin/shp2pgsql /usr/bin/shp2pgsql
I installed "liblwgeom" using homebrew,
macbook$ ls /usr/local/opt/liblwgeom/lib liblwgeom-2.1.1.dylib
Do you have any idea how to resolve this issue .