[Gdal-dev] gdal-grass plugin

Frank Warmerdam warmerdam at pobox.com
Mon Feb 6 09:21:08 EST 2006


On 2/6/06, Angus MacAulay <gus at vpac.org> wrote:
> Hi,
>
> I'm trying to compile the gdal-grass plugin on Fedora 4, and I get this;
>
> g++ -shared  grass57dataset.o -L/usr/local/grass-6.0.1/lib -lgrass_I
> -lgrass_vask -lgr ass_gmath -lgrass_gis -lgrass_datetime -lgrass_gproj
> -lgrass_vect -L/usr/local/lib -lg dal  -o gdal_GRASS.so
> /usr/bin/ld: cannot find -lgrass_I
> collect2: ld returned 1 exit status
> make: *** [gdal_GRASS.so] Error 1

Gus,

Do you have a libgrass_I.so or something similar in
/usr/local/grass-6.0.1/lib? I have:

ls -l /usr/local/grass-6.0.1/lib/libgrass_I*
-rwxr-xr-x  1 warmerda users 702124 Sep 30 16:45
/usr/local/grass-6.0.1/lib/libgrass_I.6.0.1.so
-rwxr-xr-x  1 warmerda users 298107 Sep 30 16:48
/usr/local/grass-6.0.1/lib/libgrass_Iortho.6.0.1.so
lrwxrwxrwx  1 warmerda users     24 Sep 30 16:57
/usr/local/grass-6.0.1/lib/libgrass_Iortho.so ->
libgrass_Iortho.6.0.1.so
lrwxrwxrwx  1 warmerda users     19 Sep 30 16:57
/usr/local/grass-6.0.1/lib/libgrass_I.so -> libgrass_I.6.0.1.so

Perhaps something is wrong in your GRASS install?

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 Gdal-dev mailing list