[Gdal-dev] Error compiling gdal: libgrass_I.so: cannot open shared object file

Frank Warmerdam warmerdam at pobox.com
Tue Nov 14 12:56:50 EST 2006

Patton, Eric wrote:
> I receive the following error after trying to run gdalinfo/translate after
> having successfully running configure, make, and make install on gdal 1.3.2:
> libgrass_I.so: cannot open shared object file: No such file or directory
> The only errors/warnings that occurred at the end of make was:
> /usr/bin/ld: warning: libstdc++.so.5, needed by
> /usr/local/gdal-1.3.2/.libs/libgdal.so, may conflict with libstdc++.so.6
> Note that I specifically complied without Grass support:


I'm guessing you are either not running the version of GDAL you just
installed, or you have a grass driver plugin sitting out there.  If
gdalinfo still works despite the message then it is likely a plugin.
Look in /usr/local/lib/gdalplugins and delete any grass plugins you
find.  Otherwise check to see if there are any old libgdal.so type files
sitting somewhere on your system.  "local libgdal.so" should be your friend
for this.

It is also possible that you didn't do a make clean from a previous
build.  GDAL's build is very sloppy about reacting to configure changes.
If you reconfigure you should also do a "make clean".

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    | President OSGeo, http://osgeo.org

More information about the Gdal-dev mailing list