MapServer 4.10.2 package size

Daniel Morissette dmorissette at MAPGEARS.COM
Tue Jul 10 09:59:15 EDT 2007


Frank Warmerdam wrote:
> Folks,
> 
> I notice that the default build of MapServer 4.10.2 for FGS builds
> libmapserver.so, but it isn't used for the binaries, so the resulting
> package is quite large compared to 4.8.3.
> 
> I suspect behavior has changed in 4.10.2 because of the change of
> libmap.so to libmapserver.so (who said that should go into 4.10.x!)
> so -lmap no longer picks it up in the link.
> 
> Should we restore use of the libmap.so for 4.10.3?  Or alternatively
> change the static library to be libmapserver.a (as it is in 5.0)?
> 

Looking in SVN logs/diff it seems that the change would have been made 
in 4.10 dev before the 4.10 stable branch:
https://trac.osgeo.org/mapserver/changeset/5467

Since the issue predates 4.10.0 I think the right fix is to rename the 
static lib to libmapserver.a and then use -lmapserver everywhere ... but 
if someone does that in 4.10.x we need a ticket. ;)

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the mapserver-dev mailing list