[Qgis-developer] Issue with Python on Fedora

Richard Duivenvoorde rdmailings at duif.net
Tue Oct 4 05:18:08 PDT 2016


On 04-10-16 10:15, Denis Rouzaud wrote:
> Hi all,
> 
> I have an issue with Python on Fedora.
> 
> After installing from a new clean clone and fresh build dir, if I do
> 
>  PYTHONPATH=$PYTHONPATH:/usr/share/qgis/python python -m qgis.PyQt.uic.pyuic
> 
> I get
> 
> /usr/bin/python: libqgis_core.so.2.17.0: cannot open shared object file:
> No such file or directory
> 
> Although the lib is indeed in /usr/lib.
> 
> Also, if I run qgis from the build output and do
> From qgis.PyQt.uic import pyuic it crashes without any backtrace.
> 
> I don't know what to look for.
> There are some issues on the hub, but I cannot find the connection with
> this one.

Hi Denis,

should you not also set LD_LIBRARY_PATH? It looks like something is not
picking up your fresh lib files?

I compile/install myself in a custom dir, and have to set this both for
running QGIS or to run pyqgis stuff

export LD_LIBRARY_PATH=/home/richard/apps/qgis/master/debug/lib/

I also have another 'set environment' script, that set's the

export QGIS_PREFIX_PATH=/home/richard/apps/qgis/master/debug

maybe try that? Not sure what really is picked up to be honest.

Regards,

Richard Duivenvoorde




More information about the Qgis-developer mailing list