[Mapserver-users] compiling 3.7 w/ gd2 & GDAL on windows

Ed McNierney ed at topozone.com
Tue Feb 18 07:30:03 PST 2003


Rich -

I made the decision to use the versions of various support libraries
(zlib, libtiff, etc.) that are INSIDE GDAL.  That's what's causing your
multiple definitions.

I still haven't had a chance to post my Windows build on FTP, but that
will point the way.  In the meantime, it's not that hard do to.

1. Build GDAL.
2. Build GD, editing the makefile so ALL supporting libraries it uses
are the ones inside GDAL.
3. Build MapServer without using the standalone versions of libpng,
libtiff, libgeotiff, zlib, jpeg-6b, etc.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: (978) 251-4242  Fax: (978) 251-1396
ed at topozone.com


-----Original Message-----
From: Richard Greenwood [mailto:rich at greenwoodmap.com] 
Sent: Tuesday, February 18, 2003 10:03 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] compiling 3.7 w/ gd2 & GDAL on windows

I can't get 3.7 mapserv.exe to link on windows due to a " one or more 
multiply defined symbols found" error. The multiply defined symbols are 
inflate, deflate, etc. which apparently are a part of zlib.

I am trying to compile with gd 2.0.11 and GDAL 1.1.8, both of which 
reference these functions.

Can anyone suggest what I am doing wrong?

Thanks,
Rich

Richard W. Greenwood, PLS
(307) 733-0203
Rich at GreenwoodMap.com
www.GreenwoodMap.com 




More information about the MapServer-users mailing list