As Even wrote to me some time ago:<br><br><blockquote>My guess is that /usr/lib/libexpat.so is a 32bit library. Maybe there&#39;s<br>
a /usr/lib64/libexpat.so on your system ? I&#39;m not sure of the filesystem<br>
layout of RedHat&#39;s 64bit systems.<br><br>
If that&#39;s the case, use the --with-expat-lib= option of the configure script.<br><br></blockquote>

and I used --with-expat-lib=/usr/lib64 for the option.<br clear="all"><br># ===================<br>Kyle Shannon<br>Physical Science Technician<br>RMRS Fire Sciences Lab<br>Fire, Fuels &amp; Smoke - RWU 4405<br>5775 Highway 10 W.<br>

Missoula, MT 59808<br>(406)646-6577<br><a href="mailto:kshannon@fs.fed.us">kshannon@fs.fed.us</a><br><a href="mailto:ksshannon@gmail.com">ksshannon@gmail.com</a><br># ===================<br>
<br><br><div class="gmail_quote">On Fri, Nov 20, 2009 at 4:08 PM, Steve Williams <span dir="ltr">&lt;<a href="mailto:williams@csr.utexas.edu">williams@csr.utexas.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I am trying to compile gdal as per the instructions of the developer of specialized remote sensing software called gamma (<a href="http://www.gamma-rs.ch/" target="_blank">http://www.gamma-rs.ch/</a>).  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:<br>


<br>
./configure --without-python --without-php --without-ruby --without-perl --without-jasper \<br>
--without-curl --without-odbc --with-png=internal --with-libtiff=internal --with-libgeotiff=internal \<br>
--with-jpeg=internal --with-sqlite=no --with-libz=internal --without-cfitsio --with-gif=internal --without-netcdf \<br>
--without-pg --without-hdf4 --without-hdf5 --without-geos  --enable-shared --prefix=/usr/local/gdal<br>
<br>
the last few lines on the failed make are:<br>
<br>
make[1]: Entering directory `/usr/local/src/gdal-1.5.4&#39;<br>
/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 <a href="http://libgdal.la" target="_blank">libgdal.la</a> /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 \<br>


           -rpath /usr/local/gdal/lib \<br>
           -no-undefined \<br>
           -version-info 13:4:12<br>
libtool: link: rm -fr  .libs/libgdal.la.lnkscript<br>
libtool: link: creating GNU ld script: .libs/libgdal.la.lnkscript<br>
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<br>


/usr/lib/libexpat.so: could not read symbols: File in wrong format<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [<a href="http://libgdal.la" target="_blank">libgdal.la</a>] Error 1<br>
make[1]: Leaving directory `/usr/local/src/gdal-1.5.4&#39;<br>
make: *** [check-lib] Error 2<br>
<br>
anybody seen this before or have a suggested fix?<br>
<br>
-- <br>
<br>
<br>
                    &#39;&#39;&#39;<br>
                   (O O)<br>
,-------------- oOO-(_)-OOo -------------,<br>
|            Stephen Williams            |<br>
|      Manager of Computer Services      |<br>
|       Center for Space Research        |<br>
|     University of Texas at Austin      |<br>
|     3925 W. Braker Ln., Suite 200      |<br>
|          Austin, TX 78759-5321         |<br>
|    512.471.7235  512.471.3570 (fax)    |<br>
|       <a href="mailto:williams@csr.utexas.edu" target="_blank">williams@csr.utexas.edu</a>          |<br>
|____________________ Oooo ______________|<br>
               oooO   (   )<br>
              (   )    ) /<br>
               \ (    (_/<br>
                \_) <br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br>