Dane Springmeyer wrote:
>
> yup, just as I presumed.
>
> The boost libs don't have full paths embedded in the libraries which
> makes them incompatible with OS 10.4 (AFAICT). So, apply the script I
> posted, which should fix that.
>
No dice this round. It's odd. If I look in
/Library/Frameworks/Python.framework/Versions/ , I see a 2.5 in there (no
2.6). But when I run python, It's running 2.6.4. Maybe this is leftovers
from running Route A when I first started:
sudo python_select python26
Any way to unselect that?
Here's what I have so far:
PYTHONPATH=/Library/Frameworks/Mapnik.framework/Versions/Current/Python/Library/2.6/site-packages/:$PYTHONPATH
python
Python 2.6.4 (r264:75706, Jan 1 2010, 13:58:27)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mapnik
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Mapnik.framework/Versions/Current/Python/Library/2.6/site-packages/mapnik/__init__.py",
line 53, in <module>
from _mapnik import *
ImportError:
dlopen(/Library/Frameworks/Mapnik.framework/Versions/Current/Python/Library/2.6/site-packages/mapnik/_mapnik.so,
258): Library not loaded:
/Library/Frameworks/Python.framework/Versions/2.6/Python
Referenced from:
/Library/Frameworks/Mapnik.framework/Versions/Current/Python/Library/2.6/site-packages/mapnik/_mapnik.so
Reason: image not found
>>> exit();
#tried the other to see what it would say:
export
PYTHONPATH=/Library/Frameworks/Mapnik.framework/Versions/Current/Python/Library/2.5/site-packages/:$PYTHONPATH
python
Python 2.6.4 (r264:75706, Jan 1 2010, 13:58:27)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mapnik
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Mapnik.framework/Versions/Current/Python/Library/2.5/site-packages/mapnik/__init__.py",
line 53, in <module>
from _mapnik import *
ImportError:
dlopen(/Library/Frameworks/Mapnik.framework/Versions/Current/Python/Library/2.5/site-packages/mapnik/_mapnik.so,
258): Library not loaded:
/Library/Frameworks/PROJ.framework/Versions/4.6/PROJ
Referenced from: /Library/Frameworks/Mapnik.framework/Versions/0.7/Mapnik
Reason: image not found
>>> exit();
--
View this message in context:
http://old.nabble.com/Troubles-installing-Mapnik-on-Mac-OS-10.4%2C-Route-A%2C-installing-boost-tp26989023p27023626.html
Sent from the Mapnik - Users mailing list archive at Nabble.com.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users