[Mapserver-users] Problem to install MapServer

Daniel Morissette morissette at dmsolutions.ca
Mon Dec 15 06:24:06 PST 2003


Another option is to upgrade to MapServer 3.6.6 which contains a fix for 
this problem.

Daniel



Frank Warmerdam wrote:
> Ricardo Sanabria Martínez wrote:
> 
>> Hello,
>>
>> I try to intall MapServer 3.6.5 and It show me this message error:
>>
>> $./configure --prefix=/usr/local/mapserver/ 
>> --with-postgis=/usr/local/pgsql/src/bin/pg_config/pg_config 
>> --with-php=/root/php-4.3.2/
>> configure does work fine! But make doesn't work
>> $make
>> .
>> .
>> .
>>
>> gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF 
>> -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     
>> -DUSE_POSTGIS   -I/usr/include           -I/usr/local/pgsql/include   
>> shp2img.c -o shp2img.o
>> gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF 
>> -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT     
>> -DUSE_POSTGIS   -I/usr/include           -I/usr/local/pgsql/include   
>> shp2img.o  -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz  
>> -ltiff -ljpeg -lfreetype -lpng -lz  -ljpeg     -L/usr/local/pgsql/lib 
>> -lpq     -lm   -o shp2img
>> ./libmap.a(mapogr.o)(.eh_frame+0x11): referencia a 
>> `__gxx_personality_v0' sin definir
>> collect2: ld devolvió el estado de salida 1
>> make: *** [shp2img] Error 1
>>
> 
> Richardo,
> 
> You are linking with C++ code, and need to include C++ runtime libraries.
> I would suggested editing the Makefile, and changing "LD=gcc" to "LD=g++".
> 
> Good luck,
> 




More information about the MapServer-users mailing list