Hi, I was compiling gdal with python support from svn-trunk and ran into the same problem as described at
http://www.nabble.com/Problem-with-gdal_polygonize.py-td19839558.html When I start a python script I get the following error message: ------------------ gdal_merge.py -o orthofoto_2008.tif -init 255,255,255 -v -co "COMPRESS=PACKBITS" -of GTiff OF_10cm/69*.tif Traceback (most recent call last): File "/usr/local/bin/gdal_merge.py", line 31, in <module> import gdal File "/usr/local/lib/python2.5/site-packages/gdal.py", line 2, in <module> from osgeo.gdal import deprecation_warn File "/usr/local/lib/python2.5/site-packages/osgeo/gdal.py", line 7, in <module> import _gdal ImportError: /usr/local/lib/python2.5/site-packages/osgeo/_gdal.so: undefined symbol: GDALPolygonize ------------------ My system is Ubuntu 8.10 (Intrepid Ibex). I used the following configure options: ./configure --with-perl --with-python --with-xerces --with-sqlite --with-pg=/usr/local/pgsql/bin/pg_config --enable-bigtiff --with-odbc=/usr/lib --with-libtiff=internal --with-grass=/usr/local/grass-6.3.0 Here is the output of configure: -------------------- GDAL is now configured for x86_64-unknown-linux-gnu Installation directory: /usr/local C compiler: gcc -g -O2 C++ compiler: g++ -g -O2 LIBTOOL support: yes LIBZ support: external GRASS support: grass57+ CFITSIO support: no PCRaster support: internal NetCDF support: no LIBPNG support: external LIBTIFF support: internal (BigTIFF=yes) LIBGEOTIFF support: internal LIBJPEG support: external LIBGIF support: internal OGDI support: no HDF4 support: no HDF5 support: no Kakadu support: no JasPer support: yes (GeoJP2=no) ECW support: no MrSID support: no MSG support: no GRIB support: yes cURL support (wms/wcs/...):yes PostgreSQL support: yes MySQL support: no Ingres support: no Xerces-C support: yes NAS support: no Expat support: yes ODBC support: yes PGeo support: yes OCI support: no SDE support: no DODS support: no SQLite support: yes DWGdirect support no PANORAMA GIS support: no INFORMIX DataBlade support:no GEOS support: yes Old-gen python no SWIG Bindings: python perl Statically link PROJ.4: no enable OGR building: yes enable pthread support: no hide internal symbols: no ----------------------- Maybe I am missing some python packages. On Ubuntu 8.10 there are a gazillion of python packages. I made sure I installed the swig and sip, incl. the dev packages. Any idea what went wrong with my install or which package I am missing? Thanks, Andreas -- Andreas Neumann Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland Email: [EMAIL PROTECTED], Web: * http://www.carto.net/ (Carto and SVG resources) * http://www.carto.net/neumann/ (personal page) * http://www.svgopen.org/ (SVG Open Conference) * http://www.geofoto.ch/ (Georeferenced Photos of Switzerland) _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev