I think I solved it. The problem was that Postgis ./configure did not automatically locate the new gdal version. By setting ./configure --with-gdalconfig=/usr/local/bin/gdal-config it found the GDAL 1.9.1 version.
Now i have a new problem. When running almost any query i get the error: ERROR: could not load library "/usr/lib/postgresql/9.1/lib/rtpostgis-2.0.so": /usr/lib/postgresql/9.1/lib/rtpostgis-2.0.so: undefined symbol: GDALFPolygonize ********** Error ********** ERROR: could not load library "/usr/lib/postgresql/9.1/lib/rtpostgis-2.0.so": /usr/lib/postgresql/9.1/lib/rtpostgis-2.0.so: undefined symbol: GDALFPolygonize SQL state: 58P01 Any idea? Thank for all help, Andreas 2011/10/31 Andreas Forø Tollefsen <[email protected]>: > Hi. > Thank you for your tips, but I cannot make it work. > I cannot make gdal trunk include numpy when compiling. It does not > matter if I have numpy installed from repository or from trunk. > Could there be a mismatch with the directories GDAL look for numpy, > and where it is actually stored on my linux box? > > Andreas > > 2011/10/29 Sandro Santilli <[email protected]>: >> On Sat, Oct 29, 2011 at 10:52:59AM +0200, Andreas Forø Tollefsen wrote: >>> That's what i find strange. I have installed latest numpy. First tried >>> the numpy from the resipitory, then the latest numpy subversion, but >>> numpy is not included when ./configure --with-python GDAL. >>> Have never had this problem before when building GDAL. Such as 1.8.1 >>> version from source. >>> Do i have to specify --with-numpy or something? >> >> My experience (from GDAL SVN trunk) was numpy just needed to be >> available at time of ./configure --with-python GDAL. >> You may need a make clean if you configured before numpy was available >> or even distclean (get rid of autoconf caches, possibly requires manual >> drop of them...). >> >> --strk; >> >> () Free GIS & Flash consultant/developer >> /\ http://strk.keybit.net/services.html >> _______________________________________________ >> postgis-users mailing list >> [email protected] >> http://postgis.refractions.net/mailman/listinfo/postgis-users >> > _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
