[mapserver-users] MapServer Make Failure
Frank Warmerdam
warmerdam at pobox.com
Wed Nov 25 09:17:37 PST 2009
Travis Kirstine wrote:
> I am trying to install MS 5.4.2 with GDAL 1.7 and am getting some
> errors during the make.
...
> mapogr.cpp:(.text+0x3d5d): undefined reference to `OGR_ST_SetUnit'
> mapogr.cpp:(.text+0x3d8e): undefined reference to `OGR_ST_GetParamStr'
Travis,
I suspect you have an older libgdal.so on your system, and the link
path produced by configure is picking it up first. It is virtually
impossible to have configure always pick a link path to get all the
right versions of libraries when a mixture of stuff is on the
system. You may be able to adjust the -L directives in the Makefile
manually to ensure the one for the install location of GDAL 1.7 is ahead
of whatever system library you are picking up.
You may also need to be careful about picking up the right library at
runtime.
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
More information about the MapServer-users
mailing list