Dear list,
I installed gdal from CVS today, it compiled without problems, but in
GRASS 5.3 CVS from today, r.in.gdal compiles this error message:
gcc -L/daten/software/grass53/src/libes/LIB.i686-pc-linux-gnu
-Wl,--export-dynamic -o
/daten/software/grass53/dist.i686-pc-linux-gnu/etc/bin/cmd/r.in.gdal
OBJ.i686-pc-linux-gnu/main.o OBJ.i686-pc-linux-gnu/gbgetsymbol.o
OBJ.i686-pc-linux-gnu/gdalbridge.o \
/daten/software/gdal/libgdal.la -lgproj -lproj -lgis -lI
-lgmath -lm -lz
/daten/software/gdal/libgdal.la: file not recognized: File format not
recognized
collect2: ld returned 1 exit status
make: ***
[/daten/software/grass53/dist.i686-pc-linux-gnu/etc/bin/cmd/r.in.gdal]
Fehler 1
what can I do to make r.in.gdal compile?
thank you
Otto
On Thu, 04 Mar 2004 11:25:01 +0100
Otto Dassau <otto.dassau@gmx.de> wrote:
@@
what can I do to make r.in.gdal compile?
I would say the problem is with gdal, not grass.
Maybe if you re-compile gdal... (and erase libgdal.la)
(I had the same problem one time with libz.so,
and recompiling solved it)
--
One tree to rule them all,
One tree to find them,
One tree to bring them all,
and to itself bind them.
-- Gavin Koch <gavin@cygnus.com>
On Thu, 4 Mar 2004, Otto Dassau wrote:
Dear list,
I installed gdal from CVS today, it compiled without problems, but in
GRASS 5.3 CVS from today, r.in.gdal compiles this error message:
gcc -L/daten/software/grass53/src/libes/LIB.i686-pc-linux-gnu
-Wl,--export-dynamic -o
/daten/software/grass53/dist.i686-pc-linux-gnu/etc/bin/cmd/r.in.gdal
OBJ.i686-pc-linux-gnu/main.o OBJ.i686-pc-linux-gnu/gbgetsymbol.o
OBJ.i686-pc-linux-gnu/gdalbridge.o \
/daten/software/gdal/libgdal.la -lgproj -lproj -lgis -lI
-lgmath -lm -lz
/daten/software/gdal/libgdal.la: file not recognized: File format not
recognized
collect2: ld returned 1 exit status
make: ***
[/daten/software/grass53/dist.i686-pc-linux-gnu/etc/bin/cmd/r.in.gdal]
Fehler 1
what can I do to make r.in.gdal compile?
Maybe install it rather than linking to it from the compile directory (if
that's what you're doing). Or compile it without using libtool
(--without-libtool).
This isn't really a GRASS question.