Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Error starting nextcloud #217

Open
chrismou opened this issue Oct 25, 2017 · 4 comments
Open

Error starting nextcloud #217

chrismou opened this issue Oct 25, 2017 · 4 comments

Comments

@chrismou
Copy link

Getting the following error trying to start the Nextcloud client:

nextcloud: symbol lookup error: nextcloud: undefined symbol: _ZN3OCC18AbstractNetworkJob10davRequestERK10QByteArrayRK4QUrl15QNetworkRequestP9QIODevice

On Ubuntu Zesty. Client installed using the Launchpad PPA. I was previously using the OwnCloud client, so not sure if that's caused a package mismatch somewhere.

Any ideas?

@ivaradi
Copy link
Collaborator

ivaradi commented Nov 6, 2017

Which version of the ownCloud client were you using previously?

Could you execute the following commands and provide their output:

which nextcloud
ldd `which nextcloud`

@viggy96
Copy link

viggy96 commented May 28, 2018

I've got a similar error.
nextcloud: symbol lookup error: nextcloud: undefined symbol: _ZN3OCC6Logger21setLogWindowActivatedEb
/usr/bin/nextcloud

Output of ldd:

	linux-vdso.so.1 (0x00007ffe04965000)
	libQt5DBus.so.5 => /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f5bac899000)
	libQt5WebKitWidgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5WebKitWidgets.so.5 (0x00007f5bac653000)
	libQt5WebKit.so.5 => /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5 (0x00007f5ba96db000)
	libQt5Xml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f5ba949f000)
	libnextcloudsync.so.0 => /usr/local/lib/x86_64-linux-gnu/libnextcloudsync.so.0 (0x00007f5ba90f4000)
	libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f5ba88ad000)
	libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f5ba8144000)
	libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f5ba7db8000)
	libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f5ba766d000)
	libqt5keychain.so.1 => /usr/lib/x86_64-linux-gnu/libqt5keychain.so.1 (0x00007f5ba744d000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5ba70bf000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5ba6d21000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5ba6b09000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5ba6718000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f5bacf71000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5ba64f9000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f5ba62ac000)
	libQt5PrintSupport.so.5 => /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007f5ba603d000)
	libQt5Quick.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 (0x00007f5ba59f4000)
	libQt5WebChannel.so.5 => /usr/lib/x86_64-linux-gnu/libQt5WebChannel.so.5 (0x00007f5ba57d6000)
	libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007f5ba541f000)
	libQt5Positioning.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Positioning.so.5 (0x00007f5ba51c1000)
	libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007f5ba4d20000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5ba4b1c000)
	libQt5Sensors.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Sensors.so.5 (0x00007f5ba48db000)
	libwoff2dec.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libwoff2dec.so.1.0.2 (0x00007f5ba46d0000)
	libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f5ba4468000)
	libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f5ba4236000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f5ba4019000)
	libwebp.so.6 => /usr/lib/x86_64-linux-gnu/libwebp.so.6 (0x00007f5ba3db0000)
	libhyphen.so.0 => /usr/lib/x86_64-linux-gnu/libhyphen.so.0 (0x00007f5ba3baa000)
	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f5ba37e9000)
	libxslt.so.1 => /usr/lib/x86_64-linux-gnu/libxslt.so.1 (0x00007f5ba35ac000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f5ba32a3000)
	libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f5ba2f05000)
	libgstapp-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstapp-1.0.so.0 (0x00007f5ba2cf6000)
	libgstbase-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0 (0x00007f5ba2a82000)
	libgstreamer-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007f5ba2748000)
	libgstpbutils-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0 (0x00007f5ba2510000)
	libgstaudio-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0 (0x00007f5ba229c000)
	libgsttag-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgsttag-1.0.so.0 (0x00007f5ba2061000)
	libgstvideo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 (0x00007f5ba1dc9000)
	libgstfft-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstfft-1.0.so.0 (0x00007f5ba1bbe000)
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f5ba196a000)
	libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f5ba1654000)
	libQt5Qml.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 (0x00007f5ba1057000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f5ba0e4f000)
	libocsync.so.0 => /usr/lib/tls/libocsync.so.0 (0x00007f5ba0c3b000)
	libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f5ba07f8000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f5ba056c000)
	libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f5ba02ce000)
	libdouble-conversion.so.1 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f5ba00bd000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f5b9fe39000)
	libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007f5b9e290000)
	libwoff2common.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libwoff2common.so.1.0.2 (0x00007f5b9e08d000)
	libbrotlidec.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f5b9de81000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f5b9dc5b000)
	libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f5b9da57000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f5b9d82f000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f5b9d614000)
	libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f5b9d3c0000)
	liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f5b9d144000)
	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f5b9cf3c000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f5b9ccca000)
	libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f5b9ca99000)
	libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f5b9c7e3000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f5b9c52f000)
	libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f5b9c302000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f5b9c0e6000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f5b9bdcb000)
	libbrotlicommon.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f5b9bbab000)
	libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f5b9b95e000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f5b9b625000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f5b9b410000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f5b9b209000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f5b9afe1000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f5b9addd000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f5b9abd7000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f5b9a9c2000)

@ivaradi
Copy link
Collaborator

ivaradi commented Jun 1, 2018

The problem is most likely this:

libnextcloudsync.so.0 => /usr/local/lib/x86_64-linux-gnu/libnextcloudsync.so.0

This library should be /usr/lib/x86_64-linux-gnu/libnextcloudsync.so.0.

The /usr/local/lib/x86_64-linux-gnu directory is before /usr/lib/x86_64-linux-gnu in the shared library search path on Ubuntu, so probably the best solution is to remove the wrong library file or the package containing it, if any.

@viggy96
Copy link

viggy96 commented Jun 1, 2018

@ivaradi Thanks, deleting /usr/local/lib/x86_64-linux-gnu/libnextcloudsync.so.0 worked and now the Nextcloud client is working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants