On 12-04-13 08:41 AM, Rudi Thiede wrote:
Hi all,
It seems that upgrading GDAL has caused it to stop working... when starting
QGIS, I get this:
===================================
Couldn't load plugin GdalTools due an error when calling its classFactory()
method
Traceback (most recent call last):
File "/home/rudi/apps/qgis-1_8/share/qgis/python/qgis/utils.py", line 164,
in startPlugin
plugins[packageName] = package.classFactory(iface)
File
"/home/rudi/apps/qgis-1_8/share/qgis/python/plugins/GdalTools/__init__.py",
line 32, in classFactory
from GdalTools import GdalTools
File "/home/rudi/apps/qgis-1_8/share/qgis/python/qgis/utils.py", line 309,
in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/home/rudi/apps/qgis-1_8/share/qgis/python/plugins/GdalTools/GdalTools.py",
line 39, in
raise ImportError( error_str )
ImportError: /usr/lib/python2.7/dist-packages/osgeo/_gdal.so: symbol
VSIFTruncateL, version GDAL_1.8 not defined in file libgdal.so.1 with link time
reference
Rudi,
For what it's worth the problem seems to be that while your libgdal.so was
upgraded, the Python bindings were not. So the _gdal.so from the python
bindings is still looking for 1.8.
I'm not sure how you upgraded GDAL, but if you built it yourself just make
sure you also are building and installing the python bindings. You might want
to get rid of the old ones (/usr/lib/python2.7/dist-packages/osgeo) first.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://home.gdal.org/warmerda
and watch the world go round - Rush | Geospatial Software Developer
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer