Skip to content

Instantly share code, notes, and snippets.

@127
Created August 17, 2012 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 127/3378336 to your computer and use it in GitHub Desktop.
Save 127/3378336 to your computer and use it in GitHub Desktop.
Mountain Lion mapnik-v2.0.1 package fails with ltdl error
127:~ wa$ python
Python 2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> mapnik
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'mapnik' is not defined
>>> import mapnik
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Mapnik.framework/unix/lib/python2.7/site-packages/mapnik/__init__.py", line 46, in <module>
from _mapnik import *
ImportError: dlopen(/Library/Frameworks/Mapnik.framework/unix/lib/python2.7/site-packages/mapnik/_mapnik.so, 2): Library not loaded: /usr/lib/libltdl.7.dylib
Referenced from: /Library/Frameworks/Mapnik.framework/unix/lib/libmapnik.dylib
Reason: image not found
>>> ^D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment