On May 5, 2009, at 10:42 PM, Dane Springmeyer wrote:

> Hey Mike,
>
> On May 5, 2009, at 12:43 PM, Michal Migurski wrote:
>
>> Hm, everything worked until:
>>
>>      g++ -o bindings/python/_mapnik.so ...
>>      ld: library not found for -lboost_python-mt
>>      collect2: ld returned 1 exit status
>>      scons: *** [bindings/python/_mapnik.so] Error 1
>>      scons: building terminated because of errors.
>>
>
> Looks familiar :)
>
> Can you try:
> $ sudo port uninstall boost
> $ sudo port clean boost
> $ sudo port install boost +python26 +icu
>
> My guess would be that boost somehow got installed previously  
> without the '+python26' flag (which denotes a boost 'variant'). As  
> the default 'sudo port install boost' will not compile boost-python  
> and any later call to install boost (even with the variant flag)  
> will not prompt an upgrade, a full uninstall and clean is usually  
> needed.


% sudo port uninstall boost
Password:
--->  Deactivating boost @1.38.0_0+darwin_9+icu

Looks like you were right, frustrating because it did take a *really  
long time* to build boost, so I assumed it must have been the first  
time.

I'll let you know if it works!

Wishing Macports was as good as Apt,
-mike.


----------------------------------------------------------------
michal migurski- [email protected]
                  415.558.1610



_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to