[gdal-dev] Compiling on RHEL 5

Even Rouault even.rouault at mines-paris.org
Thu Feb 19 14:00:28 EST 2009


My guess is that /usr/lib/libexpat.so is a 32bit library. Maybe there's 
a /usr/lib64/libexpat.so on your system ? I'm not sure of the filesystem 
layout of RedHat's 64bit systems.

If that's the case, use the --with-expat-lib= option of the configure script.

Le Thursday 19 February 2009 17:40:31 Kyle Shannon, vous avez écrit :
> Hello everyone, I am new(er) to linux and I tried to compile gdal on a new
> workstation running Red Hat Enterprise Linux Server release 5.2.  I ran
> into an error during compilation:
>
> /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 `/home/kyle/gdal/gdal-1.6.0'
> make: *** [check-lib] Error 2
>
>
> I am hoping this is a simple issue where I just have to tell the configure
> script something I missed.  Anyone have any ideas?  thank you.
>
> Other stats:
> RHEL 5.2 64bit
> gcc 4.1.2
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Kyle Shannon
> Physical Science Technician
> RMRS Fire Sciences Lab
> Fire, Fuels & Smoke - RWU 4405
> 5775 Highway 10 W.
> Missoula, MT 59808
> (406)829-6954
> kshannon at fs.fed.us
> ksshannon at gmail.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the gdal-dev mailing list