shp2img: free(): invalid next size

Ryan Ollerenshaw ryanollerenshaw at GMAIL.COM
Tue Oct 23 11:27:13 PDT 2007


During my Mapserver install i get an error that says unable to
location ogr_api.h in map.h so i then have to go in and edit map.h to
specify the location of ogr_api.h by hand.  Then on the next run of
make i get the error unable to locate cpl_minixml.h in mapogcsld.h so
i then have to add the path to cpl_minixml.h in mapogcsld.h by hand as
well.  After this the make seems to run fine, except for the warnings:

php_mapscript.c: In function ‘php3_ms_img_pasteImage’:
php_mapscript.c:6320: warning: implicit declaration of function
‘php_gd_gdImageColorExact’
php_mapscript.c:6324: warning: implicit declaration of function
‘php_gd_gdImageColorTransparent’
php_mapscript.c:6327: warning: implicit declaration of function
‘php_gd_gdImageCopy’

after the make is complete when i try to run shp2img i get the error:

*** glibc detected *** ./shp2img: free(): invalid next size (fast):
0x08564e00 ***
======= Backtrace: =========
/lib/i686/nosegneg/libc.so.6[0x1ee2c8d]
/lib/i686/nosegneg/libc.so.6(cfree+0x90)[0x1ee6340]
......
......

I am trying to install Mapserver 4.10.3 on fedora core 6.  I have
Mapserver 4.8.4 installed and running just fine but i need the WMS
time Support that was added in 4.9 and up, so i need this new install
to work.  Any ideas on what has changed between versions 4.8 and 4.10
that would cause these errors?



More information about the MapServer-users mailing list