I was able to fix it by defining LD_LIBRARY_PATH to point to development libs.

like export LD_LIBRARY_PATH=/home/misha/opt/qgis-dev/lib

Aparently there qgis tries to load libs from other places; in my case it is probably
because I have qgis installed from repository.


Mikhail



On 12/4/2014 3:11 AM, Etienne Trimaille wrote:
Hi,
I've nearly the same problem on master since this week-end (I believe) :

Couldn't load PyQGIS.
Python support will be disabled.


Traceback (most recent call last):
   File "", line 1, in
   File "/home/etienne/apps/share/qgis/python/qgis/__init__.py", line 36, in
     from qgis.core import QgsFeature, QgsGeometry
   File "/home/etienne/apps/share/qgis/python/qgis/core/__init__.py", line 2, in
     from qgis._core import *
ImportError: /home/etienne/apps/share/qgis/python/qgis/_core.so: undefined 
symbol: _ZTV27QgsCoordinateTransformCache


2014-12-03 20:29 GMT+01:00 Mikhail Tchernychev <mikhailtchernyc...@gmail.com <mailto:mikhailtchernyc...@gmail.com>>:

    Hi,

    I downloaded and compiled latest git snapshot.  However when I try
    to run qgis
    I am getting:

    ouldn't load PyQGIS.
    Python support will be disabled.


    Traceback (most recent call last):
       File "", line 1, in
       File "/home/misha/opt/qgis-dev/share/qgis/python/qgis/__init__.py", line 
36, in
         from qgis.core import QgsFeature, QgsGeometry
       File "/home/misha/opt/qgis-dev/share/qgis/python/qgis/core/__init__.py", 
line 2, in
         from qgis._core import *
    ImportError: /home/misha/opt/qgis-dev/share/qgis/python/qgis/_core.so: 
undefined symbol: _ZTI18QgsHeatmapRenderer

    Python version:
    2.7.6 (default, Mar 22 2014, 23:03:14)
    [GCC 4.8.2]

    QGIS version:
    2.7.0-Master 'Master', exported

    Python path:
    ['/home/misha/opt/qgis-dev/share/qgis/python',
    u'/home/misha/.qgis2/python',
    u'/home/misha/.qgis2/python/plugins',
    '/home/misha/opt/qgis-dev/share/qgis/python/plugins',
    '/usr/lib/python2.7', '/usr/lib/python2.7/plat-i386-linux-gnu',
    '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
    '/usr/lib/python2.7/lib-dynload',
    '/usr/local/lib/python2.7/dist-packages',
    '/usr/lib/python2.7/dist-packages',
    '/usr/lib/python2.7/dist-packages/PILcompat',
    '/usr/lib/python2.7/dist-packages/gtk-2.0',
    '/usr/lib/pymodules/python2.7',
    '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
    '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']


    I suppose this should be very simple. Is some package missing?

    I have qgis installed from ubuntugis-nightly but it stopped
    working on Nov 20, and no new version
    yet available.

    This is for Ubuntu trusty 14.04

    Thank you

    Mikhail





    _______________________________________________
    Qgis-developer mailing list
    Qgis-developer@lists.osgeo.org <mailto:Qgis-developer@lists.osgeo.org>
    http://lists.osgeo.org/mailman/listinfo/qgis-developer




_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer




PLEASE NOTE: This message, including any attachments, may include privileged,
confidential and/or inside information. Any dissemination, distribution or copy
of this communication by   anyone other than the intended recipient is strictly
prohibited. If you are not the intended recipient, please notify the sender by
replying to this message and then delete it from your system. Information
provided via electronic media is not guaranteed against defects including
translation and transmission errors. The company accepts no liability for any
damage caused by any virus transmitted by this email.

Geometrics Inc. | 2190 Fortune Drive | San Jose, CA 95131 USA
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to