[gdal-dev] Errors in compiling GDAL on a 64bits Linux

Limei Ran lran at unc.edu
Thu Jun 18 12:17:35 EDT 2009


Hi:

I am compiling GDAL library on a 64bits Linux Server for our 
applications (we compiled correctly on a 32bits Linux Server).  But, I 
ran into errors in compiling GDAL on the 64bits Linux.  Could you check 
for me to see how I can solve the problem?

I configured it using:
./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 --with-hdf5=/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/hdf5-1.8.3/local 
--with-libtiff=internal

Then, I type make and got the following error message after a long compiling:
=========================
...
libtool: link: warning: library
`/afs/isis.unc.edu/pkg/oracle-1020/client//lib/libexpat.la' was moved.
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  -Wl,-rpath
-Wl,/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/proj-4.6.1/local/lib
-Wl,-rpath -Wl,/afs/isis.unc.edu/pkg/oracle-1020/client//lib -Wl,-rpath
-Wl,/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/hdf5-1.8.3/local/lib
-Wl,-rpath 
-Wl,/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/szip-2.1/local/lib
-Wl,-rpath
-Wl,/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/proj-4.6.1/local/lib
-Wl,-rpath -Wl,/afs/isis.unc.edu/pkg/oracle-1020/client//lib -Wl,-rpath
-Wl,/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/hdf5-1.8.3/local/lib
-Wl,-rpath 
-Wl,/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/szip-2.1/local/lib
-L/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/proj-4.6.1/local/lib
/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/proj-4.6.1/local/lib/libproj.so
-lsqlite3 -L/afs/isis.unc.edu/pkg/oracle-1020/client//lib -lclntsh 
-lnnz10 -L/usr/lib
/afs/isis.unc.edu/pkg/oracle-1020/client//lib/libexpat.so
-L/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/hdf5-1.8.3/local/lib
/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/hdf5-1.8.3/local/lib/libhdf5.so
-L/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/szip-2.1/local/lib
/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/szip-2.1/local/lib/libsz.so 
-lgif
-ljpeg -lpng -lz -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.13.1
/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
make[1]: Leaving directory
`/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1'
make: *** [check-lib] Error 2
===================================

Thank you,


Limei




More information about the gdal-dev mailing list