Hi list When compiling PostGIS 2.1.1 I am getting the following error on my Ubuntu 12.04 box (when making):
... make[2]: Entering directory `/opt/gis/postgis/postgis-2.1.1/raster/loader' gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes -I../rt_core -I../../liblwgeom -I/usr/local/include -I/usr/include -c raster2pgsql.c /bin/bash ../../libtool --mode=link gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes -I../rt_core -I../../liblwgeom -I/usr/local/include -I/usr/include ../rt_core/librtcore.a raster2pgsql.o ../../liblwgeom/liblwgeom.la -L/usr/local/lib -lgdal -L/usr/lib -lgeos_c -lc -lm -o raster2pgsql libtool: link: cannot find the library `/usr/lib/i386-linux-gnu/libxml2.la' or unhandled argument `/usr/lib/i386-linux-gnu/libxml2.la' make[2]: *** [raster2pgsql] Error 1 make[2]: Leaving directory `/opt/gis/postgis/postgis-2.1.1/raster/loader' make[1]: *** [rtloader] Error 2 make[1]: Leaving directory `/opt/gis/postgis/postgis-2.1.1/raster' Effectively, the libxml2.la file is not on my computer. The libxml2 and libxml2-dev versions I am using is the one from ubuntu precise repository: 2.8.0+dfsg1-5ubuntu2.2~precise1 2.8.0+dfsg1-5ubuntu2.2~precise1 any hint? Upgrading libxml2? Note: I can successfully compile PostGIS 2.0.2 in the same machine. thanks a lot p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti _______________________________________________ postgis-users mailing list [email protected] http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
