[GRASS5] [bug #3160] (grass) r.support build error

Glynn Clements glynn at gclements.plus.com
Fri Apr 22 18:36:22 EDT 2005


Maciek Sieczka wrote:

> > Sorry; I should have suggested:
> >
> > LC_ALL=C make
> 
> Now it speaks English:
> 
> modcats
> make[1]: Entering directory 
> `/home/pingwin/src/grass6/raster/r.support/modcats'
> Makefile:15: warning: overriding commands for target `htmletc1'
> ../../../include/Make/Rules.make:94: warning: ignoring old commands for 
> target `htmletc1'
> gcc -s -pipe -D_FILE_OFFSET_BITS=64 -Wl,--export-dynamic -L/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib 
>         -DPACKAGE=\""grassmods"\" -o 
> /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcats 
> OBJ.i686-pc-linux-gnu/modcats.o -lgrass_gis -lgrass_datetime -lz    -lgrass_edit 
>  -lm  -lz
> /usr/bin/ld: warning: libgrass_vask.so, needed by 
> /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so, not 
> found (try using -rpath or -rpath-link)

Right. As it says, we should be using -rpath-link. I thought that we
were.

The correct switches are already present in LD_SEARCH_FLAGS, but we
don't appear to be using that.

AFAICT, the way that other modules get around this is to explicitly
add $(VASKLIB) to the link command in the Makefile.

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




More information about the grass-dev mailing list