Hello -

I am trying to use gdal2tiles.py to generate some .kml files, but am  
having difficulties.  Not sure where else to look, so since I  
installed everything with fink I am trying here.

I am running 10.5.8, version of fink is:

mymachine:sw gbsmith$ fink -V
Package manager version: 0.30.0
Distribution version: selfupdate-rsync Mon May 23 07:24:56 2011, 10.5,  
i386
Trees: local/main stable/main stable/crypto unstable/main unstable/ 
crypto

and

mymachins:sw gbsmith$ fink list gdal
Information about 11512 packages read in 3 seconds.
  i   gdal             1.7.2-5      Raster/Vector Geospatial Format  
Translator
  i   gdal-dev         1.7.2-5      GDAL/OGR development headers
      gdal-grass       1.4.3-2      GRASS plug-in for GDAL/OGR
      gdal-mysql       1.7.2-5      Raster/Vector Geospatial Format  
Translator
      gdal-mysql-dev   1.7.2-5      GDAL/OGR development headers
      gdal-mysql-shli  1.7.2-5      GDAL/OGR shared libraries
      gdal-pgsql       1.7.2-5      Raster/Vector Geospatial Format  
Translator
      gdal-pgsql-dev   1.7.2-5      GDAL/OGR development headers
      gdal-pgsql-mysq  1.7.2-5      Raster/Vector Geospatial Format  
Translator
      gdal-pgsql-mysq  1.7.2-5      GDAL/OGR development headers
      gdal-pgsql-mysq  1.7.2-5      GDAL/OGR shared libraries
      gdal-pgsql-shli  1.7.2-5      GDAL/OGR shared libraries
  i   gdal-py25        1.7.2-2      Raster/Vector Geospatial Format  
Translator
      gdal-py26        1.7.2-2      Raster/Vector Geospatial Format  
Translator
      gdal-py27        1.7.2-2      Raster/Vector Geospatial Format  
Translator
  i   gdal-shlibs      1.7.2-5      GDAL/OGR shared libraries


I installed gdal-py27 first and could not get it to work, so I removed  
everything and went to gdal-py25.  The error I get is:

mymachine:quicklooks gbsmith$ gdal2tiles.py  
20070912_MWIR_run00_run11_mosaic_transparent.tif
Traceback (most recent call last):
   File "/sw/bin/gdal2tiles.py", line 38, in <module>
     from osgeo import gdal
   File "/sw/lib/python2.5/site-packages/osgeo/__init__.py", line 24,  
in <module>
     import _gdal
ImportError: dlopen(/sw/lib/python2.5/site-packages/osgeo/_gdal.so,  
2): Symbol not found: _locale_charset
   Referenced from: /sw/lib/libspatialite.1.1.3.dylib
   Expected in: dynamic lookup

The issue seems to be the symbol _locale_charset in /sw/lib/ 
libspatialite.1.1.3.dylib

I get this same error on several machines, one is a clean os/fink  
install running 10.6...

I am not even close to a python expert, so please consider that if  
anyone can offer any insight.

Any help appreciated -

Thanks!

-geoff s.

--
Geoff Smith
Naval Research Laboratory
202.404.6324
[email protected]





------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to