Cannot execute binary files located in PWD, Ubuntu 10.4
Hi.
(1st Post.) I keep running into problems where after I have installed a command, even if I go into the directory, I cannot get it to execute by typing it's name. chmod has been set to allow execution by owner, group, and all, but I am still not able to run the command even directly from where it is located. I've tried setting the path, but the only thing that seems to make any headway is to make a symbolic link to the file and put that link into a directory that's in the path. I have been trying to install Java and the Android Dev Kit on my new Ubuntu environment. Is this a problem with my shell script execution settings? Or is this a problem with the packages for the ADK or Java or what? Please help. -TensionWind |
You should use ./adb to execute this command.
Because the PATH didn't include the command's location,so you can not execute this command by inputting abd. |
I have tried what you said and I got this result
Code:
/usr/java/android-sdk-linux/platform-tools$ ./adb Code:
PATH=$PATH:. Any other ideas? |
Quote:
|
jimtony, thanks for you help. I think I've figured it out.
I had a suspicion that if it was not a path error, then it might be a linking error, to some packages that weren't installed to allow the file to run. I am running 64bit ubuntu, but I had read somewhere earlier that I would need some 32bit libraries to run the Android SDK. After some hunting I found out which of those libraries I needed, and that I did not have them already installed. I just now did: sudo apt-get install ia32-libs and the packages were downloaded and installed. Now typing Code:
adb Thanks for your help! |
All times are GMT -5. The time now is 02:03 PM. |