I get the following error when I start balena_etcher…
[root@oc7881751743 balenaEtcher]# ./balena-etcher-electron
./balena-etcher-electron: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory
[root@oc7881751743 balenaEtcher]#
I’m running Red Hat 6.9 64 bit.
[root@oc7881751743 balenaEtcher]# uname -a
Linux oc7881751743.ibm.com 2.6.32-696.20.1.el6.x86_64 #1 SMP Fri Jan 12 15:07:59 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@oc7881751743 balenaEtcher]#
I installed using sudo “yum install -y balena-etcher-electron” which seemed to install correctly.
The missing shared library seems to be for a 32 bit system, but I’m runnng a 64bit system ?
[root@oc7881751743 red hat]# yum install gtk3
Loaded plugins: downloadkvmonly-background, downloadonly-background, refresh-
: packagekit, security, versionlock
Setting up Install Process
No package gtk3 available.
Error: Nothing to do
[root@oc7881751743 red hat]# yum whatprovides libgtk-3.so.0
Loaded plugins: downloadkvmonly-background, downloadonly-background, refresh-
: packagekit, security, versionlock
Warning: 3.0.x versions of yum would erroneously match against filenames.
You can use “*/libgtk-3.so.0” and/or “bin/libgtk-3.so.0" to get that behaviour
No Matches found
[root@oc7881751743 red hat]#
[root@oc7881751743 red hat]# yum whatprovides "/libgtk-3.so.0”
Loaded plugins: downloadkvmonly-background, downloadonly-background, refresh-
: packagekit, security, versionlock
No Matches found
[root@oc7881751743 red hat]#
Hello,
It looks like gtk3 is not provided before RHEL 7.
You won’t be able to use recent versions of Etcher on RHEL 6.9.
You should either update your distribution or try older versions of Etcher (<=1.5.65).
I’ve installed balena-etcher-electron.x86_64 0:1.5.51-1 and here’s what I get…
[garibay@oc7881751743 balenaEtcher] sudo ./balena-etcher-electron
./balena-etcher-electron: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory
[garibay@oc7881751743 balenaEtcher]
and with balena-etcher-electron.x86_64 0:1.4.9-1 I get…
garibay@oc7881751743 balenaEtcher]$ sudo ./balena-etcher-electron
[sudo] password for garibay:
./balena-etcher-electron: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.15' not found (required by ./balena-etcher-electron) ./balena-etcher-electron: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.14’ not found (required by ./balena-etcher-electron)
./balena-etcher-electron: /usr/lib64/libstdc++.so.6: version CXXABI_1.3.5' not found (required by ./balena-etcher-electron) ./balena-etcher-electron: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.14’ not found (required by /opt/balenaEtcher/libnode.so)
./balena-etcher-electron: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15’ not found (required by /opt/balenaEtcher/libnode.so)
In the first case, balena-etcher-electron.x86_64 0:1.5.51-1 is still trying to unsuccessfully load GTK3, which it cannot find in your system. I believe that finding a way to install GTK3, which should be pretty mainstream at this point, would solve the problem. I’m not familiar with RHEL, but there might be some resources in the internet about your particular RHEL setup + GTK3.
In the second case, the standard C++ library provided by RHEL, libstdc++, doesn’t seem to match the requirements that Etcher has. From the other error, my guess is that the C++ standard library that RHEL provides is also pretty slow, but can you run the following command and paste the output here to confirm?
Hey @surf408, sorry but I am not able to access the attachment to your message. I see you sent it by email, not sure if this is the reason why its not here… Could you try posting directly from Error when starting balena-etcher and attaching it again?