MaintenanceTool error
-
I've used the MaintenanceTool to update itself, and after it I got the following error -
./MaintenanceTool: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directoryWhen updating the path manually, I get
./MaintenanceTool: error while loading shared libraries: libX11-xcb.so.1: wrong ELF class: ELFCLASS64Is there a way to reinstall the MaintenanceTool? Using Qt 5.10 on ubuntu 16.04
-
Hi,
What do you get if your run
file MaintenaceTool
? -
I get
MaintenanceTool: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=b938075f702471c8707adbda76c30d27e1724661, not strippedMy system is 64 bit...
-
So it looks like you have a 32bit application trying to load a 64bit library.
But I'm surprised here that MaintenanceTool isn't in 64bit. How did you install it in the first place ?
-
It came with qt 5.10 offline installer. I used it to update itself (ran it with the GUI, and updated the maintanance tool), must have missed the part where it said 32 bit. How can I reinstall only the MaintenaceTool?
-
Log of the update -
[361138] Tmp and install directories are on the same volume. Volume mount point: "/" Free space available: "5.87 GiB" [361138] Installation space required: "35.94 MiB" Temporary space required: "10.24 MiB" Local repository size: "0.00 bytes" [362400] Install size: 2 components [437860] perform operation: SimpleMoveFile [437860] - arguments: /home/innereye/Qt5.10.0/.tempSDKMaintenanceTool, /home/innereye/Qt5.10.0/.tempSDKMaintenanceTool_backup [437860] Done [437861] undo operation: SimpleMoveFile [437861] - arguments: /home/innereye/Qt5.10.0/.tempSDKMaintenanceTool, /home/innereye/Qt5.10.0/.tempSDKMaintenanceTool_backup [437861] Done [437863] backup qt.tools.maintenance operation: Extract [437863] - arguments: installer://qt.tools.maintenance/2.0.5-0installerbase-linux-x86.7z, /home/innereye/Qt5.10.0 [437863] Done [437863] perform qt.tools.maintenance operation: Extract [437863] - arguments: installer://qt.tools.maintenance/2.0.5-0installerbase-linux-x86.7z, /home/innereye/Qt5.10.0 [438420] Done [438420] backup qt.tools.maintenance operation: CreateDesktopEntry [438420] - arguments: Qt 5.10-MaintenanceTool.desktop, Type=Application Exec=/home/innereye/Qt5.10.0/MaintenanceTool Path=/home/innereye/Qt5.10.0 Name=Qt 5.10 Maintenance Tool GenericName=Install or uninstall Qt components. Icon=QtIcon Terminal=false Categories=Development;Qt; [438421] Done [438421] perform qt.tools.maintenance operation: CreateDesktopEntry [438421] - arguments: Qt 5.10-MaintenanceTool.desktop, Type=Application Exec=/home/innereye/Qt5.10.0/MaintenanceTool Path=/home/innereye/Qt5.10.0 Name=Qt 5.10 Maintenance Tool GenericName=Install or uninstall Qt components. Icon=QtIcon Terminal=false Categories=Development;Qt; [438421] Done [438421] backup qt.tools.maintenance.icons operation: Extract [438421] - arguments: installer://qt.tools.maintenance.icons/2.0.4QtIcon.7z, /home/innereye/Qt5.10.0 [438421] Done [438421] perform qt.tools.maintenance.icons operation: Extract [438421] - arguments: installer://qt.tools.maintenance.icons/2.0.4QtIcon.7z, /home/innereye/Qt5.10.0 [438422] Done [438422] backup qt.tools.maintenance.icons operation: InstallIcons [438422] - arguments: /home/innereye/Qt5.10.0/icons [438422] Done [438422] perform qt.tools.maintenance.icons operation: InstallIcons [438422] - arguments: /home/innereye/Qt5.10.0/icons [438422] Done [441218] Got a replacement installer base binary: "/home/innereye/Qt5.10.0/.tempSDKMaintenanceTool" [441218] Writing maintenance tool: "/home/innereye/Qt5.10.0/MaintenanceTool.new" [441273] Wrote permissions for maintenance tool. [441277] Wrote the binary with the new replacement. [441281] Removed installer base binary "/home/innereye/Qt5.10.0/.tempSDKMaintenanceTool" after updating the maintenance tool. [441887] Maintenance tool restart: true.
-
From your log I see Maintenance Tool version 2.0.5 - this is too old. It was the last 32 bit version for Linux.
There was some problems with the download links recently which gave you the old (and wrong architecture) version: https://forum.qt.io/topic/86551/installer-cannot-find-libfontconfig-on-ubuntu-16-04
Please see there if you were hit from this bug.
-
I think this is the same bug. But do you have any recommendation on how to fix it without reintaslling Qt? All I wanted was to add qcharts ...
-
Well I've solved it in a stupid-but-working way, I had to install 5.10 on another computer anyway, so I took the maintenance tool from there and used it to delete the 5.10 with the buggy installation. Then reinstalled with the needed components.
-
@Jonathan-Levanon said in MaintenanceTool error:
Well I've solved it in a stupid-but-working way, I had to install 5.10 on another computer anyway, so I took the maintenance tool from there and used it to delete the 5.10 with the buggy installation. Then reinstalled with the needed components.
Clever trick :)