I am trying to compile gdal as per the instructions of the developer of specialized remote sensing software called gamma (http://www.gamma-rs.ch/). The platform is a Dell T410 dual Xeon processor system with 8GB of memory, running Redhat Enterprise Linux (RHEL 5.4 x86_64). The configure goes smoothly, but on the make I am getting the error on the subject line and the make fails. The configure instructions are very specific from gamma:

./configure --without-python --without-php --without-ruby --without-perl --without-jasper \ --without-curl --without-odbc --with-png=internal --with-libtiff=internal --with-libgeotiff=internal \ --with-jpeg=internal --with-sqlite=no --with-libz=internal --without-cfitsio --with-gif=internal --without-netcdf \ --without-pg --without-hdf4 --without-hdf5 --without-geos --enable-shared --prefix=/usr/local/gdal

the last few lines on the failed make are:

make[1]: Entering directory `/usr/local/src/gdal-1.5.4'
/bin/sh /usr/local/src/gdal-1.5.4/libtool --mode=link g++ -I/usr/include -lsqlite3 -L/usr/lib -lexpat -lm -lrt -ldl -o libgdal.la /usr/local/src/gdal-1.5.4/frmts/o/*.lo /usr/local/src/gdal-1.5.4/gcore/*.lo /usr/local/src/gdal-1.5.4/port/*.lo /usr/local/src/gdal-1.5.4/alg/*.lo /usr/local/src/gdal-1.5.4/ogr/ogrsf_frmts/o/*.lo ./ogr/ogrgeometryfactory.lo ./ogr/ogrpoint.lo ./ogr/ogrcurve.lo ./ogr/ogrlinestring.lo ./ogr/ogrlinearring.lo ./ogr/ogrpolygon.lo ./ogr/ogrutils.lo ./ogr/ogrgeometry.lo ./ogr/ogrgeometrycollection.lo ./ogr/ogrmultipolygon.lo ./ogr/ogrsurface.lo ./ogr/ogrmultipoint.lo ./ogr/ogrmultilinestring.lo ./ogr/ogr_api.lo ./ogr/ogrfeature.lo ./ogr/ogrfeaturedefn.lo ./ogr/ogrfeaturequery.lo ./ogr/ogrfeaturestyle.lo ./ogr/ogrfielddefn.lo ./ogr/ogrspatialreference.lo ./ogr/ogr_srsnode.lo ./ogr/ogr_srs_proj4.lo ./ogr/ogr_fromepsg.lo ./ogr/ogrct.lo ./ogr/ogr_opt.lo ./ogr/ogr_srs_esri.lo ./ogr/ogr_srs_pci.lo ./ogr/ogr_srs_usgs.lo ./ogr/ogr_srs_dict.lo ./ogr/ogr_srs_panorama.lo ./ogr/ogr_srs_erm.lo ./ogr/swq.lo ./ogr/ogr_srs_validate.lo ./ogr/ogr_srs_xml.lo ./ogr/ograssemblepolygon.lo ./ogr/ogr2gmlgeometry.lo ./ogr/gml2ogrgeometry.lo \
           -rpath /usr/local/gdal/lib \
           -no-undefined \
           -version-info 13:4:12
libtool: link: rm -fr  .libs/libgdal.la.lnkscript
libtool: link: creating GNU ld script: .libs/libgdal.la.lnkscript
libtool: link: g++ -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtbeginS.o .libs/libgdal.la.lnkscript -lsqlite3 -L/usr/lib /usr/lib/libexpat.so -lrt -ldl -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crtn.o -Wl,-soname -Wl,libgdal.so.1 -o .libs/libgdal.so.1.12.4
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [libgdal.la] Error 1
make[1]: Leaving directory `/usr/local/src/gdal-1.5.4'
make: *** [check-lib] Error 2

anybody seen this before or have a suggested fix?

--


                    '''
                   (O O)
,-------------- oOO-(_)-OOo -------------,
|            Stephen Williams            |
|      Manager of Computer Services      |
|       Center for Space Research        |
|     University of Texas at Austin      |
|     3925 W. Braker Ln., Suite 200      |
|          Austin, TX 78759-5321         |
|    512.471.7235  512.471.3570 (fax)    |
|       [email protected]          |
|____________________ Oooo ______________|
               oooO   (   )
              (   )    ) /
               \ (    (_/
\_)




_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to