[Solved]can not run "sudo ./QtSdk-offline-linux-x86-v1.2.1.run"
-
Hi guys,
I wanna install qtsdk, I issued chmod u+x QtSdk-offline-linux-x86-v1.2.1.run
and then I issued sudo ./QtSdk-offline-linux-x86-v1.2.1.run.nothing happen or prompt a message "no such file or directory", welcome
any ideas -
Did you try "chmod a+x"?
-
yes, i did.but the problem is the same. bash:./QtSdk-offline-linux-x86-v1.2.1.run: No such file or directory
-
I would guess that you are running a pure 64bit userspace and are trying to install a 32bit application on that.
Took me ages to figure that out when this happened to me the first time: The error message is absolutely confusing there.
-
[quote author="Tobias Hunger" date="1335985210"]I would guess that you are running a pure 64bit userspace and are trying to install a 32bit application on that.
Took me ages to figure that out when this happened to me the first time: The error message is absolutely confusing there.[/quote]
great.I just check my system information: ubuntu 64bit. yes, I try to install 32 bit QtSDK
-
You can either install an additional 32bit userspace then and install the SDK afterwards...
-
thanks, by the way, what is "32bit userspace"?
-
"userspace" is everything outside the kernel space:-)
As you know most applications depend on libraries to provide functionality that they use. To run 32bit apps on a 64bit system you need all the libraries needed by those apps in a 32bit version. Of course you also need all the libraries those libraries need, etc:-)
Most distributions offer a way to simple way to install a pretty complete set of 32bit libraries on a 64bit linux. Check the documentation/wikis of your distribution of choice.