[Qgis-developer] Issue with Python on Fedora
Sandro Mani
manisandro at gmail.com
Tue Oct 4 05:26:12 PDT 2016
Hi Denis
If you are on 64bits Fedora, the libs are probably searched for in
/usr/lib64.
You can run python through strace to check where it is looking for the
libraries, i.e.
PYTHONPATH=$PYTHONPATH:/usr/share/qgis/python strace python -m
qgis.PyQt.uic.pyuic
and then just look at which open syscalls are trying to open
libqgis_core and where.
Hope this helps
Sandro
On 04.10.2016 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.
>
> If anyone has a hint, thanks a lot.
>
> Denis
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161004/febe8a5e/attachment.html>
More information about the Qgis-developer
mailing list