[Mapserver-users] RedHat 9.0 Compile * FIXED *

R00T r000t at adelphia.net
Tue Apr 29 11:23:37 EDT 2003


Just to let everyone know this fixed the problem.

TIP: make sure gd, libjpeg and libpng rpms are installed.


Thanks!
-Jim




On Tue, 2003-04-29 at 11:09, Till Adams wrote:
> Dear ROOT,
> 
> I think RedHat is similar to Mandrake. So RH 9 may also come with the
> gcc 3.x compiler. 
> After the ./configure edit your Makefile and search for
> 
> STATIC_LIBS= $(GD_STATIC) $(OGR_STATIC) 
> 
> and change to this:
> 
> STATIC_LIBS= $(GD_STATIC) $(OGR_STATIC) -lstdc++
> 
> For mandrake this enables gcc 3 to compile mapserver properly - or try
> the mailing list archive for workarounds for mandrake 9.
> 
> Cheers,
> Till 
> 
> 
> R00T schrieb:
> > Anyone get mapserver to compile on redhat 9.0 yet?
> > 
> > I get this error when compiling....
> > 
> > configure detected everything I needed, gd, freetype etc...so that looks
> > good...
> > 
> > Then make
> > 
> > Then this error
> > 
> > gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL     -DUSE_JPEG
> > -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT       
> > -I/usr/include              shp2img.c -o shp2img.o
> > gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL     -DUSE_JPEG
> > -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT       
> > -I/usr/include              shp2img.o  -L. -lmap -lgd -L/usr/lib -lgd
> > -ljpeg -lfreetype -lpng -lz  -ljpeg -lfreetype -lpng -lz 
> > -ljpeg          -lm   -o shp2img
> > ./libmap.a(mapogr.o)(.eh_frame+0x11): undefined reference to
> > `__gxx_personality_v0'
> > collect2: ld returned 1 exit status
> > make: *** [shp2img] Error 1
> > 
> > 
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > 
> >   
> 
> 
> -- 
> 
> ***** Neu !! AveiN! 1.2 Die MapServer Erweiterung für ArcView GIS *****
> 
> -----
> 
> Dipl. Geogr. Till Adams
> terrestris, Paulsen&Adams GbR
> Siemensstr. 8 * 53121 Bonn
> Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57
> info at terrestris.de * www.terrestris.de




More information about the mapserver-users mailing list