Cannot run online installer on Ubuntu 22.10
-
Hi,
I try install qt creator on my new machine. I download from office website run file:
qt-unified-linux-x64-4.5.2-online.runAnd now when I try run this I got this error:
./qt-unified-linux-x64-4.5.2-online.run: 1: ELF: not found
./qt-unified-linux-x64-4.5.2-online.run: 2: Syntax error: "(" unexpectedI have 64bit machine:
-
Hi,
I try install qt creator on my new machine. I download from office website run file:
qt-unified-linux-x64-4.5.2-online.runAnd now when I try run this I got this error:
./qt-unified-linux-x64-4.5.2-online.run: 1: ELF: not found
./qt-unified-linux-x64-4.5.2-online.run: 2: Syntax error: "(" unexpectedI have 64bit machine:
-
@ppitu Did you set the executable bit?
chmod u+x qt-unified-linux-x64-4.5.2-online.run
Another reason could be that the file is corrupted, then download it again.
-
@jsulm Yes I use chmod +x qt-unified-linux-x64-4.5.2-online.run
I try download the file again but it want help and I still have this problem.
-
@ppitu What is the file system where you store the installer (ext4, FAT32, ...)?
Do you execute the installer as root? -
@jsulm I have Etx4 and I run installer with sudo.
And when I try install Qt on my laptop (ubuntu 20.10) I have the same error.
-
-
@ppitu
That might or might not be relevant. From a shell in the directory where the file is what is the output of these two commands:ls -l qt-unified-linux-x64-4.5.2-online.run file qt-unified-linux-x64-4.5.2-online.run
@JonB ls -l qt-unified-linux-x64-4.5.2-online.run
-rw-rw-r-- 1 ppitu ppitu 57561126 mar 22 09:56 qt-unified-linux-x64-4.5.2-online.run
file qt-unified-linux-x64-4.5.2-online.run
qt-unified-linux-x64-4.5.2-online.run: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=618bbfa98aa951f35eceadb8137ae1d6f45c74ef, not stripped
-
@ppitu If only one user is going to use Qt there is no need for sudo: run the installer as normal user, Qt will be installed in home folder then.
-
@ppitu said in Cannot run online installer on Ubuntu 22.10:
i receive permission denied
then set the access rights correctly...
-
@JonB ls -l qt-unified-linux-x64-4.5.2-online.run
-rw-rw-r-- 1 ppitu ppitu 57561126 mar 22 09:56 qt-unified-linux-x64-4.5.2-online.run
file qt-unified-linux-x64-4.5.2-online.run
qt-unified-linux-x64-4.5.2-online.run: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=618bbfa98aa951f35eceadb8137ae1d6f45c74ef, not stripped
@ppitu said in Cannot run online installer on Ubuntu 22.10:
-rw-rw-r-- 1 ppitu ppitu 57561126 mar 22 09:56 qt-unified-linux-x64-4.5.2-online.run
Which shows you have not executed the
chmod +x
on it, which is why I asked for thels -l
, and hence the error message..... -
@ppitu said in Cannot run online installer on Ubuntu 22.10:
-rw-rw-r-- 1 ppitu ppitu 57561126 mar 22 09:56 qt-unified-linux-x64-4.5.2-online.run
Which shows you have not executed the
chmod +x
on it, which is why I asked for thels -l
, and hence the error message..... -