[mapserver-dev] Revisit installing multiple mapserver versions

Smith, Michael ERDC-CRREL-NH Michael.Smith at usace.army.mil
Mon Jul 16 08:58:20 PDT 2012


I want to second Steve's idea. This would be something useful to me as
well. Perhaps on option on make install, make install-versioned or
something like that?

Mike

-- 
Michael Smith

Remote Sensing/GIS Center
US Army Corps of Engineers



On 7/16/12  11:50 AM, "Stephen Woodbridge" <woodbri at swoodbridge.com> wrote:

>Thomas,
>
>I am have a problem with multiple mapserver versions installed. This is
>a common scenario in many environments. Looking at my system, I have:
>
>> woodbri at mappy:$ ls /usr/local/lib/libmaps* -l
>> -rwxr-xr-x 1 root root 5942968 2012-07-02 09:36
>>/usr/local/lib/libmapserver-6.1-dev.so
>> -rwxr-xr-x 1 root root 5934502 2012-07-14 17:10
>>/usr/local/lib/libmapserver-6.2.0-beta1.so
>> -rwxr-xr-x 1 root root 5935167 2012-07-14 23:24
>>/usr/local/lib/libmapserver-6.3-dev.so
>> -rwxr-xr-x 1 root root    2066 2012-07-14 23:24
>>/usr/local/lib/libmapserver.la
>> lrwxrwxrwx 1 root root      23 2012-07-14 23:24
>>/usr/local/lib/libmapserver.so -> libmapserver-6.3-dev.so
>> woodbri at mappy:$ ls /usr/local/lib/libmapserver.so -l
>> lrwxrwxrwx 1 root root 23 2012-07-14 23:24
>>/usr/local/lib/libmapserver.so -> libmapserver-6.3-dev.so
>
>> woodbri at mappy:$ ls /usr/local/bin/mapserv
>> /usr/local/bin/mapserv
>
>> woodbri at mappy:$ mapserv -v
>> MapServer version 6.3-dev OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
>>SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO
>>SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
>>SUPPORTS=WFS_SERVER SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR
>>INPUT=GDAL INPUT=SHAPEFILE
>
>This one works fine since it was last installed. But my typical pattern
>is to install mapserver then:
>
>   cp /usr/local/bin/mapserv /path/to/cgi-bin/mapserv-<version>
>
>So I have these on my system:
>
>/usr/lib/cgi-bin/mapserv
>/usr/lib/cgi-bin/mapserv-6.1-dev
>/usr/lib/cgi-bin/mapserv-6.2-beta1
>/usr/lib/cgi-bin/mapserv-60
>/usr/lib/cgi-bin/mapserv-tc
>
>I think the problem is the symlink:
>
>/usr/local/lib/libmapserver.so -> libmapserver-6.3-dev.so
>
>Ideally the executable should try to load the explicit library that it
>was built against and not some generic libmapserver.so that is a symlink
>and then I think everything would work just fine.
>
>Is this something that can be done?
>
>Thanks,
>   -Steve
>_______________________________________________
>mapserver-dev mailing list
>mapserver-dev at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list