Mapserver compile error on Ubuntu

Matthew Perry perrygeo at GMAIL.COM
Mon Jan 16 11:18:34 PST 2006


Frank,

  There is no way for Mapserver to differentiate between coexisting
versions of gdal? This is disappointing since removing the /usr
version will mean removing a whole stack of software that depends on
it then recompiling them all from scratch. Is there no other option?

matt

On 1/16/06, Frank Warmerdam <warmerdam at pobox.com> wrote:
> On 1/16/06, Matthew Perry <perrygeo at gmail.com> wrote:
> > I have the ubuntu gdal package installed in /usr plus a compiled
> > version in /usr/local which I need to support some extra formats. As
> > far as I can tell, both versions of gdal are functioning 100%
>
> Matt,
>
> This is almost certainly the cause of your problem.  The error
> is basically indicating that MapServer was compiled using include
> files with one definition of the Set methods, but you linked against
> a shared library with a different definition.  These methods had
> a "const correctness" change that is normally invisible to
> applications, but does change the ABI (the mangled internal
> names of methods).
>
> My suggestion is that you uninstall the package from
> /usr, if you are installing your own custom build in /usr/local.
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>


--
Matt Perry
perrygeo at gmail.com
http://www.perrygeo.net



More information about the MapServer-users mailing list