[Qgis-developer] error starting qgis (built from source)
chris marx
chrismarx at gmail.com
Mon May 5 07:26:34 PDT 2014
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
libQtXml.so.4 => /usr/lib/x86_64-linux-gnu/libQtXml.so.4
(0x00007f7b33427000)
libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4
(0x00007f7b32f54000)
libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4
(0x00007f7b32286000)
libQtNetwork.so.4 => /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
(0x00007f7b31f3a000)
libQtSvg.so.4 => /usr/lib/x86_64-linux-gnu/libQtSvg.so.4
(0x00007f7b31ce1000)
libproj.so.0 => /usr/lib/libproj.so.0 (0x00007f7b31a9f000)
libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0x00007f7b31884000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
(0x00007f7b315e0000)
libspatialite.so.3 => /usr/lib/libspatialite.so.3 (0x00007f7b310c3000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f7b30dc3000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7b30ac6000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f7b308b0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7b304f0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f7b302d2000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1
(0x00007f7b300c8000)
libgstapp-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so.0
(0x00007f7b2febc000)
libgstinterfaces-0.10.so.0 =>
/usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0 (0x00007f7b2fca9000)
libgstpbutils-0.10.so.0 =>
/usr/lib/x86_64-linux-gnu/libgstpbutils-0.10.so.0 (0x00007f7b2fa86000)
libgstvideo-0.10.so.0 =>
/usr/lib/x86_64-linux-gnu/libgstvideo-0.10.so.0 (0x00007f7b2f86a000)
libgstbase-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0
(0x00007f7b2f616000)
libgstreamer-0.10.so.0 =>
/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0 (0x00007f7b2f32f000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(0x00007f7b2f0e0000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0
(0x00007f7b2edea000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6
(0x00007f7b2eab5000)
libepsilon.so.0 => /usr/lib/libepsilon.so.0 (0x00007f7b2e89d000)
libodbc.so.1 => /usr/lib/x86_64-linux-gnu/libodbc.so.1
(0x00007f7b2e635000)
libodbcinst.so.1 => /usr/lib/x86_64-linux-gnu/libodbcinst.so.1
(0x00007f7b2e423000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1
(0x00007f7b2e1f9000)
libxerces-c.so.28 => /usr/lib/libxerces-c.so.28 (0x00007f7b2dc56000)
libjasper.so.1 => /usr/lib/x86_64-linux-gnu/libjasper.so.1
(0x00007f7b2d9ff000)
libhdf5.so.6 => /usr/lib/libhdf5.so.6 (0x00007f7b2d464000)
libmfhdfalt.so.0 => /usr/lib/libmfhdfalt.so.0 (0x00007f7b2d240000)
libdfalt.so.0 => /usr/lib/libdfalt.so.0 (0x00007f7b2cf9e000)
libogdi.so.3.2 => /usr/lib/libogdi.so.3.2 (0x00007f7b2cd7d000)
libgif.so.4 => /usr/lib/x86_64-linux-gnu/libgif.so.4
(0x00007f7b2cb73000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8
(0x00007f7b2c923000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0
(0x00007f7b2c6fb000)
libnetcdf.so.6 => /usr/lib/libnetcdf.so.6 (0x00007f7b2c3bc000)
libpq.so.5 => /usr/lib/libpq.so.5 (0x00007f7b2c190000)
libdapclient.so.3 => /usr/lib/x86_64-linux-gnu/libdapclient.so.3
(0x00007f7b2bf5b000)
libdap.so.11 => /usr/lib/x86_64-linux-gnu/libdap.so.11
(0x00007f7b2bc73000)
libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
(0x00007f7b2ba1b000)
libmysqlclient.so.18 => /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
(0x00007f7b2b4d4000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f7b2b2bc000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7b2b0b8000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f7b2aeaf000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7b36350000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
(0x00007f7b2ac79000)
libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2
(0x00007f7b2aa61000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6
(0x00007f7b2a7c4000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f7b2a5bc000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6
(0x00007f7b2a3a2000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f7b2a191000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6
(0x00007f7b29f80000)
libgeos-3.2.2.so => /usr/lib/libgeos-3.2.2.so (0x00007f7b29c31000)
libfreexl.so.1 => /usr/lib/x86_64-linux-gnu/libfreexl.so.1
(0x00007f7b29a28000)
liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0
(0x00007f7b297ac000)
libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
(0x00007f7b295a8000)
libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2
(0x00007f7b2924c000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6
(0x00007f7b29043000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f7b28e06000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1
(0x00007f7b28be8000)
libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7
(0x00007f7b289dd000)
libicuuc.so.48 => /usr/lib/libicuuc.so.48 (0x00007f7b28673000)
libhdf5_hl.so.6 => /usr/lib/libhdf5_hl.so.6 (0x00007f7b28440000)
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0
(0x00007f7b281e2000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
(0x00007f7b27e07000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3
(0x00007f7b27b38000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2
(0x00007f7b27934000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
(0x00007f7b276f6000)
libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
(0x00007f7b274a6000)
libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11
(0x00007f7b27273000)
liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
(0x00007f7b27064000)
libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26
(0x00007f7b26da8000)
libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11
(0x00007f7b26b2a000)
librtmp.so.0 => /usr/lib/x86_64-linux-gnu/librtmp.so.0
(0x00007f7b2690f000)
libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f7b266a9000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6
(0x00007f7b264a5000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f7b262a0000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
(0x00007f7b26099000)
libicudata.so.48 => /usr/lib/libicudata.so.48 (0x00007f7b24d29000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
(0x00007f7b24b00000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
(0x00007f7b248f8000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1
(0x00007f7b246f4000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
(0x00007f7b244d7000)
libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2
(0x00007f7b242bc000)
libgssapi.so.3 => /usr/lib/x86_64-linux-gnu/libgssapi.so.3
(0x00007f7b2407e000)
libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3
(0x00007f7b23e6c000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
(0x00007f7b23c5a000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
(0x00007f7b23a55000)
libheimntlm.so.0 => /usr/lib/x86_64-linux-gnu/libheimntlm.so.0
(0x00007f7b2384e000)
libkrb5.so.26 => /usr/lib/x86_64-linux-gnu/libkrb5.so.26
(0x00007f7b235c7000)
libasn1.so.8 => /usr/lib/x86_64-linux-gnu/libasn1.so.8
(0x00007f7b23327000)
libhcrypto.so.4 => /usr/lib/x86_64-linux-gnu/libhcrypto.so.4
(0x00007f7b230f3000)
libroken.so.18 => /usr/lib/x86_64-linux-gnu/libroken.so.18
(0x00007f7b22edd000)
libwind.so.0 => /usr/lib/x86_64-linux-gnu/libwind.so.0
(0x00007f7b22cb4000)
libheimbase.so.1 => /usr/lib/x86_64-linux-gnu/libheimbase.so.1
(0x00007f7b22aa4000)
libhx509.so.5 => /usr/lib/x86_64-linux-gnu/libhx509.so.5
(0x00007f7b2285a000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1
(0x00007f7b22621000)
I'm not sure if I'm looking in the right place, but if the plugin folder
for qt is supposed to be /usr/lib/qt4 (and i do see a smbolic link to this
location), the plugins folder is actually missing altogether?
Hopefully something here is illuminating-
On Mon, May 5, 2014 at 9:57 AM, Daniel Scholten <scholten at riseup.net> wrote:
> On 05/03/2014 09:46 AM, Yves Jacolin wrote:
> > Le samedi 3 mai 2014, 08:47:30 Nyall Dawson a écrit :
> >>> Maybe you need to update your LD_LIBRARY_PATH so QGIS or Qt knows of
> the
> >>> custom OCI lib path during runtime?
> >>
> >> Possibly running "sudo ldconfig" may help?
> >>
> >> Nyall
> > probably not without adding a new file in /etc/ld.so.conf.d/ for example
> > qgis.conf containing: /usr/local/lib/
> >
> > So yes after that update your lib PATH with sudo ldconfig.
> >
> > Y.
> >
>
> I've had the same problem and the above worked for me. Except that now I
> found that some plugin libraries are missing. During start of QGIS I get
> a message "Unable to load GdalTools plugin. The required "osgeo
> [python-gdal]" module is missing." and after a Python error "Couldn't
> load plugin 'processing' [...]". After QGIS startup in the plugin
> manager with GdalTools everything seems to be ok, whereas processing
> plugin is marked broken and the reinstall button is disabled. Any
> suggestions what to do? Daniel
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140505/28fdb69e/attachment.html>
More information about the Qgis-developer
mailing list