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

Limei Ran lran at unc.edu
Mon Jun 22 09:24:44 EDT 2009


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 --with-hdf5=/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/hdf5-1.8.3/local  --with-libtiff=internal  --without-curl --without-expat 
--without-mysql

Then, ./make


Here are new errors I got:


/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/.libs/libgdal.so:
undefined reference to `XML_ErrorString'
/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/.libs/libgdal.so:
undefined reference to `curl_easy_setopt'
/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/.libs/libgdal.so:
undefined reference to `XML_GetCurrentColumnNumber'
/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/.libs/libgdal.so:
undefined reference to `curl_easy_getinfo'
/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/.libs/libgdal.so:
undefined reference to `curl_slist_free_all'
/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/.libs/libgdal.so:
undefined reference to `curl_multi_init'
/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/.libs/libgdal.so:
undefined reference to `curl_multi_fdset'
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory
`/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/apps'
make: *** [apps-target] Error 2
==============

I told not to use curl, expat, and mysql.  But, I do not know why errors
related to curl are there.

Thank you for your help.

Limei

-- 
Limei Ran, Research Associate
Center for Environmental Modeling for Policy Development
the Institute for the Environment University of North Carolina at Chapel Hill
Bank of American Plaza - CB#6116
137 E. Franklin, Room 661
Chapel Hill, NC 27599-6116

Email: lran at unc.edu
Phone:  919-966-2245
Fax:    919-843-3113








More information about the gdal-dev mailing list