Limei Ran wrote:
> Hi:
>
> I configured it with the commands:
>
>
> 1. ./setenv CFLAGS "-fPIC"
>
> 2. ./configure
> --prefix=/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/local
>
> --with-static-proj4=/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/proj-4.6.1/local
>
>/afs/isis.unc.edu/pkg/oracle-1020/client//lib/libexpat.so: could not
>read symbols: File
>in wrong format
>collect2: ld returned 1 exit status
>make[1]: *** [libgdal.la] Error 1
[Chandra ] it looks like it is getting linked against 32-bit libexpat.so
Can you check the same by "file /libexpat.so" a
Hi Limei
I used the following to build GDAL library on a 64-bit Linux Server.
setenv CFLAGS "-fPIC"
./configure --prefix=/home/sgong/build_openev2/dist --with-png=internal
--with-libtiff=internal --with-gif=internal --with-geotiff=internal
--with-libz=/home/sgong/build_openev2/dist
--with-jpeg=/