[Qgis-developer] Unable to import qgis.core on OS X
John C. Tull
john.tull at wildnevada.org
Fri Feb 6 17:47:26 EST 2009
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
More information about the Qgis-developer
mailing list