Fwd: [Fink-users] gdal troubles/gdal-py25

3 views
Skip to first unread message

BABA Yoshihiko

unread,
May 24, 2011, 8:41:14 PM5/24/11
to Kurt Schwehr, fink-gis
Hi Kurt,

I got the message below, and after some Yahooing, I found you had tackled the problem. Any ideas?

http://paste.lisp.org/display/112901

Begin forwarded message:

> From: Alexander Hansen <alexande...@gmail.com>
> Date: May 25, 2011 24:18:40 GMT+09:00
> To: Geoffrey Smith <geoffre...@nrl.navy.mil>
> Cc: fink-...@lists.sourceforge.net, BABA Yoshihiko <babayo...@mac.com>
> Subject: Re: [Fink-users] gdal troubles/gdal-py25
> Reply-To: fink-...@lists.sourceforge.net
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 5/24/11 10:29 AM, Geoffrey Smith wrote:
>> 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
>> geoffre...@nrl.navy.mil
>>
>>
>>
>
> The real problem here is with libspatialite1, which really should link
> to the library which provides the missing _locale_charset symbol.
> (libintl) This will require fixes in how libspatialite1 builds.
>
> maintainer cc'ed
> - --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk3bzFAACgkQB8UpO3rKjQ/qXQCeKZRJkw2T/3Y+AQ8L8DCXFtS3
> x28An07jXA9vEl1Sslc7PPrGqMPSTIbW
> =ZagD
> -----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages