[GRASS-dev] undefined reference to gdal version 1.8

Glynn Clements glynn at gclements.plus.com
Fri May 23 11:46:34 PDT 2014


Rashad M wrote:

> Thanks for reply. Re-installing Ubuntu cannot be done for my case. There
> were two gdal version /usr/
>  and /usr/local
> 
> For the moment removing gdal from local
> rm -f /usr/local/libgdal* rm -f /usr/local/bin/gdal*
> 
> and install grass and then I did just sudo make install in gdal. This
> worked but still ugly solution.

Even if this fixes the compilation problems, attempts to run GRASS
modules may fail due to loading the wrong version of GDAL.

In short, it's only safe to have multiple versions of a library
installed if each version has a different "soname". AFAICT, all
versions of GDAL have the soname "libgdal.so.1".

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list