[gdal-dev] GDAL in 64bits Linux environment

Limei Ran lran at unc.edu
Wed Jul 30 14:52:52 EDT 2008


Hi Mike:

Thanks for your reply and the following is my error:
================================
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/mimssp_8_2008/src/libs/proj-4.6.0/local/lib 
-Wl,-rpath 
-Wl,/nas/uncch/depts/cep/emc/lran/mims/mimssp_8_2008/src/libs/proj-4.6.0/local/lib 
-L/nas/uncch/depts/cep/emc/lran/mims/mimssp_8_2008/src/libs/proj-4.6.0/local/lib 
/nas/uncch/depts/cep/emc/lran/mims/mimssp_8_2008/src/libs/proj-4.6.0/local/lib/libproj.so 
-lsqlite3 -L/usr/lib /usr/lib/libexpat.so -lgif -ljpeg -ltiff -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.12.2
/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 
`/nas/uncch/depts/cep/emc/lran/mims/mimssp_8_2008/src/libs/gdal-1.5.2'
make: *** [check-lib] Error 2
====================================

In the old 32bits environment, it worked fine.

Thanks,

Limei

Nidel, Mike wrote:

>I've gotten it to work using the 1.5 branch. I didn't have to do
>anything specific to 64-bit
>as far as I know. What are your errors?
>
>Mike
>
>  
>
>>-----Original Message-----
>>From: gdal-dev-bounces at lists.osgeo.org 
>>[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Limei Ran
>>Sent: Wednesday, July 30, 2008 2:03 PM
>>To: gdal-dev at lists.osgeo.org
>>Subject: [gdal-dev] GDAL in 64bits Linux environment
>>
>>Hi:
>>
>>I am having some errors in compiling GDAL on our new 64bits 
>>Linux server.  Could you tell me whether gdal1.5.2 has been 
>>tested on 64bit Linux or what I need to change in the configure file?
>>
>>Thanks,
>>
>>Limei
>>
>>_______________________________________________
>>gdal-dev mailing list
>>gdal-dev at lists.osgeo.org
>>http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>>    
>>



More information about the gdal-dev mailing list