Re: [postgis-users] problems with dumpin postgis data to shapefiles

Stefan Zweig stefanzweig1881 at web.de
Thu May 24 05:21:08 PDT 2007


sorry @ list for bothering you,

i could just work out by myself what the problem was. anyway i am going to report the solution just in case anybody else will have this problem:

allright what you have to do in this case is:

1. open mc (midnight commander or comparable fileexplorer)
2. search for the file libpq.so.4
3. add the path where you could find libpq.so.4 file to /etc/ld.so.conf
4. run ldconfig
5. try again.

stefan


> 
> Hi @ all
>  
> i have just had a problem with dumping postgis data to a shapefile...
> 
> i got the following error message:
> 
>  
> /usr/local/pgsql/bin/pgsql2shp -f demo.shp -g the_geom_005 -b mapdata public._g1
> /usr/local/pgsql/bin/pgsql2shp: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory
> 
> 
> i would appreciate any help
> 
> thanks in advance, stefan
>  
> 
> 
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 


_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192




More information about the postgis-users mailing list