[Qgis-developer] Unable to import qgis.core on OS X

William Kyngesburye woklist at kyngchaos.com
Fri Feb 6 17:59:28 EST 2009


That's already done in my binary.  See other reply for cause of the  
problem.

On Feb 6, 2009, at 4:47 PM, John C. Tull wrote:

> Gary,
>
> Do you run a post-install command to fix linking issues?
>
> I run this:
>
> install_name_tool -change /System/Library/Frameworks/ 
> Python.framework/Versions/2.5/Python Python.framework/Versi
> ons/2.5/Python /Applications/qgis1.1.0.app/Contents/MacOS/lib/ 
> libqgispython.dylib;install_name_tool -change /Users/jctull/source
> s/qgis/trunk/build/src/gui/libqgis_gui.1.1.dylib @executable_path/ 
> lib/libqgis_gui.1.1.dylib -change /Users/jctull/sources/qgis/t
> runk/build/src/core/libqgis_core.1.1.dylib @executable_path/lib/ 
> libqgis_core.1.1.dylib /Applications/qgis1.1.0.app/Contents/MacO
> S/share/qgis/python/qgis/gui.so;install_name_tool -change /Users/ 
> jctull/sources/qgis/trunk/build/src/gui/libqgis_gui.1.1.dylib @
> executable_path/lib/libqgis_gui.1.1.dylib -change /Users/jctull/ 
> sources/qgis/trunk/build/src/core/libqgis_core.1.1.dylib @execut
> able_path/lib/libqgis_core.1.1.dylib /Applications/qgis1.1.0.app/ 
> Contents/MacOS/share/qgis/python/qgis/core.so
>
> Thanks,
> John
>
> On Feb 6, 2009, at 2:15 PM, Gary Sherman wrote:
>
>> Trying to import qgis.core on OS X Leopard, Framework install from  
>> KyngChaos.com:
>>
>> ImportError: dlopen(/Applications/Qgis.app/Contents/MacOS/share/ 
>> qgis/python/qgis/core.so, 2): Symbol not found:  
>> _GEOSPolygonizer_getCutEdges
>> Referenced from: /Applications/Qgis.app/Contents/MacOS/share/qgis/ 
>> python/qgis/../../../../lib/libqgis_core.dylib
>> Expected in: /Library/Frameworks/GEOS.framework/Versions/3/GEOS
>>
>> Any suggestions?
>>
>> -gary
>> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>> Gary Sherman
>> Chair, QGIS Project Steering Committee
>> -Micro Resources: http://mrcc.com
>> *Geospatial Hosting
>> *Web Site Hosting
>> -Desktop GIS Book:
>> *http://desktopgisbook.com
>> "We work virtually everywhere"
>> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

First Pogril: Why is life like sticking your head in a bucket filled  
with hyena offal?
Second Pogril: I don't know.  Why IS life like sticking your head in a  
bucket filled with hyena offal?
First Pogril: I don't know either.  Wretched, isn't it?

-HitchHiker's Guide to the Galaxy




More information about the Qgis-developer mailing list