[GRASSLIST:4216] Re: mapserver-grass

Markus Neteler neteler at itc.it
Mon Aug 5 12:19:06 EDT 2002


On Fri, Aug 02, 2002 at 01:36:58PM +0300, orkun wrote:
> Hello
> 
> When I try to install mapserver with grass support.  I encounter
> this problem (after entering ./mapserv for checking):
> 
> ./mapserv: error while loading shared libraries: libgrass5.so.0: cannot
> ./open shared object file: No such file or directory--
> 
> 
> Is my installation procedure correct ?
> 
> cd /usr/local/libgrass5-1.0.0
> ./configure ; make ; make install
> 
> cd /usr/local/gdal-1.1.7
> ./configure --without-python --with-grass=/usr/local/lib
> make ; make install
> 
> cd /usr/local/mapserver-3.6.0
> ./configure  --with-proj --with-ogr --with-gdal --with-gd --with-png
> make ; make install
> 
> Anyone  have an idea ?
> 
> Ahmet Temiz

Hi,

you may run:

ldd ./mapserv

and check 
echo $LD_LIBRARY_PATH

obviously the libgrass5.so.0 is not present within $LD_LIBRARY_PATH.
After fixing this (link or copy), mapserv should find the library.

Markus



More information about the grass-user mailing list