[Qgis-developer] ImportError _core.i386-linux-gnu.so undefined symbol

Pedro Venâncio pedrongvenancio at gmail.com
Thu Jun 30 17:38:08 PDT 2016


Hi,

It's solved, I had some old packages that were generating these problems.
All ok now.

Thanks!

Pedro


2016-06-30 22:38 GMT+01:00 Pedro Venâncio <pedrongvenancio at gmail.com>:

> Hi all,
>
> Similar problem compiling QGIS master now:
>
> Couldn't load PyQGIS.
> Python support will be disabled.
>
> Traceback (most recent call last):
>   File "", line 1, in
>   File "/usr/lib/python2.7/dist-packages/qgis/__init__.py", line 27, in
>     from qgis.core import QgsFeature, QgsGeometry
>   File "/usr/lib/python2.7/dist-packages/qgis/core/__init__.py", line 30,
> in
>     from qgis._core import *
> ImportError: /usr/lib/python2.7/dist-packages/qgis/_core.i386-linux-gnu.so:
> undefined symbol:
> _ZN18QgsCompoundCurveV29transformERK22QgsCoordinateTransformNS0_18TransformDirectionE
>
> Python version:
> 2.7.6 (default, Jun 22 2015, 18:03:54)
> [GCC 4.8.2]
>
> QGIS version:
> 2.15.0-Master 'Master', exported
>
>
>
> 2016-06-29 16:20 GMT+01:00 Pedro Venâncio <pedrongvenancio at gmail.com>:
>
>> Hi,
>>
>> I've compiled QGIS release 2.14 (commits 78569ab and 50dd57d) and I'm
>> getting this python error when running QGIS:
>>
>> Couldn't load PyQGIS.
>> Python support will be disabled.
>>
>> Traceback (most recent call last):
>>   File "", line 1, in
>>   File "/usr/lib/python2.7/dist-packages/qgis/__init__.py", line 36, in
>>     from qgis.core import QgsFeature, QgsGeometry
>>   File "/usr/lib/python2.7/dist-packages/qgis/core/__init__.py", line 34,
>> in
>>     from qgis._core import *
>> ImportError: /usr/lib/python2.7/dist-packages/qgis/_
>> core.i386-linux-gnu.so: undefined symbol:
>> _ZNK28QgsSimpleMarkerSymbolLayerV28writeDxfER12QgsDxfExportdRK7QStringP24QgsSymbolV2RenderContextPK10QgsFeature7QPointF
>>
>> Python version:
>> 2.7.6 (default, Jun 22 2015, 18:03:54)
>> [GCC 4.8.2]
>>
>> QGIS version:
>> 2.14.3-Essen 'Essen', exported
>>
>>
>> I also have compiled QGIS master and QGIS 2.14.3 final, and I don't have
>> any error.
>>
>> I'm using lubuntu 14.04 (32 bits).
>>
>> Should I fill a ticket?
>>
>> Thanks!
>>
>> Best regards,
>> Pedro
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160701/bb9d5ee4/attachment.html>


More information about the Qgis-developer mailing list