You're right, I didn't read carefully enough. I had a problem with not finding libjpeg.la so i disabled libtool and it solved the problem. Now whenever I see "libXYZ.la" that's what I always think of. Flashbacks, I suppose. :)
> -----Original Message----- > From: Even Rouault [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 30, 2008 2:59 PM > To: [email protected] > Cc: Limei Ran; Nidel, Mike > Subject: Re: [gdal-dev] GDAL in 64bits Linux environment > > Well, clearly the problem is /usr/lib/libexpat.so that must > be 32 bit on your distro. It should fetch > /usr/lib64/libexpat.so instead. I think someone reported > similar problem not so long ago on the mailing list. You > should fetch the archives to see if there was a solution. > Otherwise you can try to patch GDALmake.opt generated by > configure to correct this, or compile without expat if you > don't need KML and GPX read support. > > Le Wednesday 30 July 2008 20:52:52 Limei Ran, vous avez écrit : > > 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/lo > >cal/lib -Wl,-rpath > > > >-Wl,/nas/uncch/depts/cep/emc/lran/mims/mimssp_8_2008/src/libs > /proj-4.6. > >0/lo > >cal/lib > > > >-L/nas/uncch/depts/cep/emc/lran/mims/mimssp_8_2008/src/libs/p > roj-4.6.0/ > >loca > >l/lib > > > >/nas/uncch/depts/cep/emc/lran/mims/mimssp_8_2008/src/libs/pro > j-4.6.0/lo > >cal/ 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: [EMAIL PROTECTED] > > >>[mailto:[EMAIL PROTECTED] On Behalf Of Limei Ran > > >>Sent: Wednesday, July 30, 2008 2:03 PM > > >>To: [email protected] > > >>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 > > >>[email protected] > > >>http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > _______________________________________________ > > gdal-dev mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
