[postgis-devel] Problem with pgsql2shp on AMD64

strk at refractions.net strk at refractions.net
Fri Mar 25 12:05:16 PST 2005


Try also, changing the 'int junk' variable in pgsql2shp.c
to 'size_t junk' (around line 1915). I've committed this
change in CVS.
--strk;

On Fri, Mar 25, 2005 at 07:42:05PM +0100, strk at refractions.net wrote:
> On Fri, Mar 25, 2005 at 07:16:17PM +0100, TECHER Jean David wrote:
> > Hi 
> > 
> > I tried to use pgsql2shp from RC 4 on a Debian Sarge AMD64
> > 
> > pgsql2shp doesn't succeed in creating the shapefiles using a query form
> > 
> > pgsql2shp mybase myquery
> > 
> > It gave me error about fseek(), fwrite
> > 
> > However the same command succeeded in Windows XP for pgsql2shp for windows
> > 
> > Any Idea ????
> 
> Can you provide a test case ?
> I just tried on an x86_64 GNU/Linux and simple test works fine.
> Also, can you post exact error message ?
> 
> --strk;
> 
> > 
> > I use PG 8.0.0
> > ----------------------------------------------------------------
> > TECHER Jean David
> > Responsable Informatique 01MAP
> > e-mail: davidtecher at yahoo.fr
> > Bureau: 04 67 45 60 27
> > Portable: 06 85 37 36 75
> > site perso : http://techer.pascal.free.fr/postgis/
> > site pro: http://www.01map.com/download/
> > K-S:"The greatest trick the devil pulled off was convincing people he didn't exist"
> > ------------------------------------------------------------
> > _______________________________________________
> > postgis-devel mailing list
> > postgis-devel at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-devel
> 
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list