On Mon, Nov 18, 2013 at 08:22:07PM +0100, Paolo Corti wrote: > 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
... > 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 There seem to be a reference to libxml2.la into one of the .la files involved in the libtool call line. Start form liblwgeom.la, it's a shell script setting some variables. Mine was created by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1 --strk; _______________________________________________ postgis-users mailing list [email protected] http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
