[Gdal-dev] gdal-grass-ogr plugin 64bit issue
Markus Neteler
neteler at itc.it
Thu Jan 5 04:39:40 EST 2006
Hi,
I tried to compile the plugin on a RHEL4 64bit box, but failed.
For some reasons LD_SHARED is set to /bin/true:
g++ -Wall -fPIC -DUSE_CPL -DGRASS_GISBASE=\"/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu\" -I/usr/local/include -I/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu/include -c -o grass57dataset.o grass57dataset.cpp
/bin/true grass57dataset.o -L/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu/lib -lgrass_I -lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -lgrass_gproj -lgrass_vect -lgrass_dbmibase -lgrass_dbmiclient -L/usr/local/lib -lgdal -o gdal_GRASS.so
g++ -Wall -fPIC -DUSE_CPL -DGRASS_GISBASE=\"/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu\" -I/usr/local/include -I/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu/include -c -o ogrgrassdriver.o ogrgrassdriver.cpp
g++ -Wall -fPIC -DUSE_CPL -DGRASS_GISBASE=\"/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu\" -I/usr/local/include -I/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu/include -c -o ogrgrassdatasource.o ogrgrassdatasource.cpp
g++ -Wall -fPIC -DUSE_CPL -DGRASS_GISBASE=\"/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu\" -I/usr/local/include -I/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu/include -c -o ogrgrasslayer.o ogrgrasslayer.cpp
/bin/true ogrgrassdriver.o ogrgrassdatasource.o ogrgrasslayer.o -L/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu/lib -lgrass_I -lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -lgrass_gproj -lgrass_vect -lgrass_dbmibase -lgrass_dbmiclient -L/usr/local/lib -lgdal -o ogr_GRASS.so
/bin/true grass57dataset.o -L/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu/lib -lgrass_I -lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -lgrass_gproj -lgrass_vect -lgrass_dbmibase -lgrass_dbmiclient -L/usr/local/lib -lgdal -o gdal_GRASS.so
/bin/true ogrgrassdriver.o ogrgrassdatasource.o ogrgrasslayer.o -L/ssi0/ssi/neteler/grass61/dist.x86_64-unknown-linux-gnu/lib -lgrass_I -lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -lgrass_gproj -lgrass_vect -lgrass_dbmibase -lgrass_dbmiclient -L/usr/local/lib -lgdal -o ogr_GRASS.so
install -d /usr/local/lib/gdalplugins
cp gdal_GRASS.so /usr/local/lib/gdalplugins
cp: cannot stat `gdal_GRASS.so': No such file or directory
bartok:gdal-grass-1.3.1[4806.157] grep LD Makefile | head -2
LD = g++
LD_SHARED = /bin/true
But GDAL, GRASS etc compile well. Here related output of the
main 'configure' of GDAL:
...
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
...
There seems to be a problem in aclocal.m4 in
gdal-grass-1.3.1/aclocal.m4
and
frmts/grass/pkg/aclocal.m4
Thanks
Markus
More information about the Gdal-dev
mailing list