[gdal-dev] building error on libgdal.so
Lauri Kajan
lauri.kajan at gmail.com
Thu Aug 30 13:04:33 PDT 2012
Hi all,
I'm trying to build GDAL 1.9.1 from source on Ubuntu 12.04 but I get an error.
I configured gdal with ./configure --with-threads --with-python
--with-odbc --with-pg
Here is the error message?
libtool: link: g++ .libs/gdal_translate.o .libs/commonutils.o -o
.libs/gdal_translate /home/l/asennukset/gdal-1.9.1/.libs/libgdal.so
-L/usr/local/lib -L/usr/lib /usr/local/lib/libgeos_c.so
/usr/local/lib/libgeos.so /usr/lib/x86_64-linux-gnu/libexpat.so -lpq
-lz -lpthread -lrt -ldl
/home/l/asennukset/gdal-1.9.1/.libs/libgdal.so: undefined reference to
`OGRCreateExpatXMLParser()'
collect2: ld returned 1 exit status
make[1]: *** [gdal_translate] Error 1
make[1]: *** Waiting for unfinished jobs....
/home/l/asennukset/gdal-1.9.1/.libs/libgdal.so: undefined reference to
`OGRCreateExpatXMLParser()'
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/home/l/asennukset/gdal-1.9.1/apps'
make: *** [apps-target] Error 2
Am I missing some dependency?
I have already installed Postgis and with that libxml2-dev. If this
has anything to do with that.
Could anybody help me with this?
Thanks
Lauri
More information about the gdal-dev
mailing list