[Qgis-developer] error starting qgis (built from source)

Yves Jacolin yjacolin at free.fr
Mon May 5 09:50:55 PDT 2014


Le lundi 5 mai 2014, 10:26:34 chris marx a écrit :
> Hi,
>  Ok, some of this is a bit unfamiliar for me, but here goes. So, I ran ldd
> on the qgis app, and it very clearly shows that that libqgis_core was not
> found:
> 
> chrismarx at ubuntu:~/apps/bin$ ldd ./qgis
>     linux-vdso.so.1 =>  (0x00007fff12158000)
>     libqwt-qt4.so.5 => /usr/lib/libqwt-qt4.so.5 (0x00007f7b3606f000)
>     libQtSql.so.4 => /usr/lib/x86_64-linux-gnu/libQtSql.so.4
> (0x00007f7b35e30000)
>     libQtWebKit.so.4 => /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
> (0x00007f7b34077000)
>     libgdal1.7.0.so.1 => /usr/lib/libgdal1.7.0.so.1 (0x00007f7b3366d000)
>     libqgis_core.so.2.3.0 => not found
>     libqgis_gui.so.2.3.0 => not found
>     libqgis_analysis.so.2.3.0 => not found
>     [..]
This is the problem, if you added your correct lib path in 
/etc/ld.so.conf.d/qgis.conf (filename is not important, only the extension is 
important) then run sudo ldconfig your system should find them.

First, run sudo updatedb then wait for a while. Finaly check the location 
with:
locate libqgis_gui.so.2.3.0

It gives you at least two location: your build src and your lib install path. 
Take the second one and put it into /etc/ ld.so.conf.d/qgis.conf, run again 
sudo ldconfig

check again with your ldd command.

Y.

-- 
Yves Jacolin


More information about the Qgis-developer mailing list