[GRASS5] [bug #2389] (grass) cannot find -lgdal.1.2.0

Request Tracker grass-bugs at intevation.de
Thu Apr 22 14:28:07 EDT 2004


this bug's URL: http://intevation.de/rt/webrt?serial_num=2389
-------------------------------------------------------------------------

Subject: cannot find -lgdal.1.2.0

Platform: Solaris2.X/Sparc
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 53_cvs_4_22_04

I updated my sources from CVS today and now when I try to make the binaries it chokes in r.in.gdal:

#################################################################
/export/home/gwurman/Codes/grass53/src/raster/r.in.gdal
  mkdir OBJ.sparc-sun-solaris2.8
  make -f OBJ.sparc-sun-solaris2.8/make.rules 

make[1]: Entering directory `/export/home/gwurman/Codes/grass53/src/raster/r.in.gdal'
gcc -I/export/home/gwurman/Codes/grass53/src/include -w -g -Wall   -I/export/home/gwurman/include -DUSE_GDAL_H   -c main.c -o OBJ.sparc-sun-solaris2.8/main.o
gcc -I/export/home/gwurman/Codes/grass53/src/include -w -g -Wall   -I/export/home/gwurman/include -DUSE_GDAL_H   -c gbgetsymbol.c -o OBJ.sparc-sun-solaris2.8/gbgetsymbol.o
gcc -I/export/home/gwurman/Codes/grass53/src/include -w -g -Wall   -I/export/home/gwurman/include -DUSE_GDAL_H   -c gdalbridge.c -o OBJ.sparc-sun-solaris2.8/gdalbridge.o
gcc -L/export/home/gwurman/Codes/grass53/src/libes/LIB.sparc-sun-solaris2.8  -o /export/home/gwurman/Codes/grass53/dist.sparc-sun-solaris2.8/etc/bin/cmd/r.in.gdal OBJ.sparc-sun-solaris2.8/main.o OBJ.sparc-sun-solaris2.8/gbgetsymbol.o OBJ.sparc-sun-solaris2.8/gdalbridge.o \
	-L/export/home/gwurman/lib -lgdal.1.2.0 -lgproj  -lgis -lsocket  -lI -lgmath -lm  -lnsl    -lz 
/usr/local/sparc-sun-solaris2.8/bin/ld: cannot find -lgdal.1.2.0
collect2: ld returned 1 exit status
make[1]: *** [/export/home/gwurman/Codes/grass53/dist.sparc-sun-solaris2.8/etc/bin/cmd/r.in.gdal] Error 1
make[1]: Leaving directory `/export/home/gwurman/Codes/grass53/src/raster/r.in.gdal'
GISGEN failure at STEP: src/raster/r.in.gdal

This is not fatal when compiling grass53, but the same error also comes up when trying to compile grass57 (in lib/proj/) and there it is fatal.  I have absolutely no idea what to do with libraries.  Can anyone help?

Thanks,
Gilead Wurman
ASU Active Tectonics

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list