[GRASS5] Re: [GRASSLIST:8620] Re: GRASS, gdal and mapserver

Michael Barton michael.barton at asu.edu
Fri Oct 14 14:02:07 EDT 2005


Markus,

We're going to try to get the grass-gdal plugin working today in Fedora.

I'm afraid I don't exactly understand what we need to do here, or in your
advice to run ldconfigure for the plugin.

Can you elaborate a bit?

Thanks much
Michael
______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


> From: Markus Neteler <neteler at itc.it>
> Date: Fri, 14 Oct 2005 11:48:38 +0200
> To: Grass Developers List <grass5 at grass.itc.it>
> Subject: Re: [GRASS5] Re: [GRASSLIST:8620] Re: GRASS, gdal and mapserver
> 
> On Fri, Oct 14, 2005 at 11:38:01AM +0200, Radim Blazek wrote:
>> Vector library is obviously missing.
> 
> Right, for the new GDAL-OGR-GRASS plugin you need to link
> as many as these libs:
> 
> cd /usr/local/lib
> ln -s /usr/local/grass6/lib/libgrass_I.so .
> ln -s /usr/local/grass6/lib/libgrass_vask.so .
> ln -s /usr/local/grass6/lib/libgrass_gmath.so .
> ln -s /usr/local/grass6/lib/libgrass_gis.so .
> ln -s /usr/local/grass6/lib/libgrass_datetime.so .
> ln -s /usr/local/grass6/lib/libgrass_vect.so .
> ln -s /usr/local/grass6/lib/libgrass_dig2.so .
> ln -s /usr/local/grass6/lib/libgrass_dbmiclient.so .
> ln -s /usr/local/grass6/lib/libgrass_dbmibase.so .
> ln -s /usr/local/grass6/lib/libgrass_shape.so .
> ln -s /usr/local/grass6/lib/libgrass_dgl.so .
> ln -s /usr/local/grass6/lib/libgrass_rtree.so .
> ln -s /usr/local/grass6/lib/libgrass_linkm.so .
> ln -s /usr/local/grass6/lib/libgrass_form.so .
> ln -s /usr/local/grass6/lib/libgrass_gproj.so .
> ln -s /usr/local/grass6/lib/libgrass_vect.so .
> ln -s /usr/local/grass6/lib/libgrass_dig2.so .
> ln -s /usr/local/grass6/lib/libgrass_dbmiclient.so .
> ln -s /usr/local/grass6/lib/libgrass_dbmibase.so .
> ln -s /usr/local/grass6/lib/libgrass_shape.so .
> ln -s /usr/local/grass6/lib/libgrass_dgl.so .
> ln -s /usr/local/grass6/lib/libgrass_rtree.so .
> ln -s /usr/local/grass6/lib/libgrass_linkm.so .
> ln -s /usr/local/grass6/lib/libgrass_form.so .
> ln -s /usr/local/grass6/lib/libgrass_gproj.so .
> 
> (paths may differ)
> 
> Then it will work.
> 
> Markus
> 
>  
>> On 10/13/05, Francisco Alonso <alonsarp at um.es> wrote:
>>> El Viernes, 14 de Octubre de 2005 10:25, Radim Blazek escribió:
>>>> On 10/12/05, Francisco Alonso <alonsarp at um.es> wrote:
>>>>> # ogrinfo
>>>>> /var/www/grass5_mapserver/spearfish60/PERMANENT/vector/streams/head
>>>>> Warning 1: GRASS warning: GISBASE enviroment variable was not set, using:
>>>>> /usr/local/grass-6.0.1
>>>>> ogrinfo: relocation error: /usr/local/lib/gdalplugins/ogr_GRASS.so:
>>>>> undefined symbol: Vect_set_fatal_error
>>>> 
>>>> ldd /usr/local/lib/gdalplugins/ogr_GRASS.so ?
>>>> 
>>>> Radim
>>> 
>>> # ldd /usr/local/lib/gdalplugins/ogr_GRASS.so
>>>                 libgrass_I.so => /usr/lib/libgrass_I.so (0x40014000)
>>>         libgrass_vask.so => /usr/lib/libgrass_vask.so (0x40026000)
>>>         libgrass_gmath.so => /usr/lib/libgrass_gmath.so (0x4002c000)
>>>         libgrass_gis.so => /usr/lib/libgrass_gis.so (0x40032000)
>>>         libgrass_datetime.so => /usr/lib/libgrass_datetime.so (0x400b9000)
>>>         libgrass_gproj.so => /usr/lib/libgrass_gproj.so (0x400c1000)
>>>         libgdal.so.1 => /usr/lib/libgdal.so.1 (0x400c9000)
>>>         libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40493000)
>>>         libm.so.6 => /lib/tls/libm.so.6 (0x4054d000)
>>>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4056f000)
>>>         libc.so.6 => /lib/tls/libc.so.6 (0x40578000)
>>>         libfftw.so.2 => /usr/lib/libfftw.so.2 (0x406ad000)
>>>         libz.so.1 => /usr/lib/libz.so.1 (0x406e1000)
>>>         libncurses.so.5 => /lib/libncurses.so.5 (0x406f4000)
>>>         libproj.so.0 => /usr/lib/libproj.so.0 (0x40733000)
>>>         libgeos.so.2 => /usr/lib/libgeos.so.2 (0x40768000)
>>>         libpq.so.3 => /usr/lib/libpq.so.3 (0x4085b000)
>>>         librt.so.1 => /lib/tls/librt.so.1 (0x40876000)
>>>         libdl.so.2 => /lib/tls/libdl.so.2 (0x4087c000)
>>>         libodbc.so.1 => /usr/lib/libodbc.so.1 (0x40880000)
>>>         libxerces-c.so.26 => /usr/lib/libxerces-c.so.26 (0x408f8000)
>>>         libjasper-1.701.so.1 => /usr/lib/libjasper-1.701.so.1 (0x40c42000)
>>>         libmfhdf.so.4 => /usr/lib/libmfhdf.so.4 (0x40c8f000)
>>>         libdf.so.4 => /usr/lib/libdf.so.4 (0x40cb1000)
>>>         libungif.so.4 => /usr/lib/libungif.so.4 (0x40d50000)
>>>         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40d59000)
>>>         libtiff.so.4 => /usr/lib/libtiff.so.4 (0x40d77000)
>>>         libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40dc7000)
>>>         libnetcdf.so.3 => /usr/lib/libnetcdf.so.3 (0x40dec000)
>>>         libcfitsio.so.2 => /usr/lib/libcfitsio.so.2 (0x40e0f000)
>>>         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40f7d000)
>>>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>>>         libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40f8d000)
>>>         libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7
>>> (0x40fbe000)
>>>         libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x410bd000)
>>>         libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0x41125000)
>>>         libresolv.so.2 => /lib/tls/libresolv.so.2 (0x41152000)
>>>         libnsl.so.1 => /lib/tls/libnsl.so.1 (0x41164000)
>>>         libltdl.so.3 => /usr/lib/libltdl.so.3 (0x41179000)
>>>         libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x41180000)
>>>         libcom_err.so.2 => /lib/libcom_err.so.2 (0x411a3000)
>>> 
>>> Seems to be ok
>>> 
>>> Paco
>>> 
>>> --
>>> Francisco Alonso Sarría
>>> Departamento de Geografía (Area de Geografía Física)
>>> Universidad de Murcia. Campus La Merced
>>> E-30001 Murcia
>>> Telfn: +34 968364357
>>> www.um.es/geograf/sigmur
>>> 
>>> 
>> 
>> _______________________________________________
>> grass5 mailing list
>> grass5 at grass.itc.it
>> http://grass.itc.it/mailman/listinfo/grass5
> 
> 
> 




More information about the grass-dev mailing list