Ubuntu :: Can't Run This Binary / Wh Is So?
Apr 29, 2010
I'm going through a tutorial here to help me know how to wander around my system in the terminal and just understand better on a general level.
I'm trying to simply figure out how to compile and run some software from source. I get to my directory where the then installed binary sits. I understand I'm supposed to enter in the command:
Quote:
./units
where 'units' is the name of my binary. But I then get the output:
Quote:
units: can't find units file '/usr/local/share/units.dat'
...what? Why does it refer to that directory that's WAY out there? It seems like it's trying to outguess me on something? I don't know. Anyone out there that does? I'd appreciate an explanation, and help to know what to do to run this binary.
View 1 Replies
ADVERTISEMENT
May 5, 2011
Is there any Linux utility to combine two or more binary files into a single binary file ?
View 7 Replies
View Related
Nov 30, 2010
How to coded version info and other information likes author and company name into the ELF binary?
I prefer the put the version info during build step.
View 5 Replies
View Related
Apr 20, 2010
Is there a command that can tell me which binary actually executes for some program name? "whereis" seems to do something different.
Specifically, I am trying to hunt down and kill a python 2.6 installation that just won't die.
whereis just seems to be returning anything with "python" in its name, but I want to know which binary thinks it is python 2.6.5. (By the way, I've tried all the above manually, and it isn't any of them)
View 6 Replies
View Related
Dec 22, 2010
I am trying out an open source software According to its installation instruction, "Linux users with an x86 compatible platform can use the frozen package for a quick installation (Just unpack the tar file in directory an start the faces binary). "So I just did it and unpacked it. However, when I click on the application file, which is named "faces", nothing happens. I'm new to Ubuntu so I'm not sure if there is anything that I should do before I can click and run an application like this?
View 4 Replies
View Related
Feb 11, 2010
Trying to setup a new Ubuntu machine and just downloaded 'p4' (Perforce command line client). It's a single file download - a statically-linked binary executable, so I just did:
wget [URL]
...right into /usr/bin. Simple enough. Except:
root@aj-ubuntu:/usr/bin# ll p4
-rwxr-xr-x 1 root root 748808 2010-02-11 16:54 p4
root@aj-ubuntu:/usr/bin# ./p4
[Code].....
View 6 Replies
View Related
Jul 14, 2010
I have a strange issue on one of my machines. The same thing works fine on all the others. When I execute:
Code:
sudo -u myuser -i ls
I get:
Code:
/bin/ls: /bin/ls: cannot execute binary file
On the other hand if I just run
Code:
sudo -u myuser -i
and then run ls, it executes successfully, but I don't want to stay logged in as myuser I just want to run a single command.
View 2 Replies
View Related
Sep 10, 2010
I am currently trying to get Google's Android Debug Bridge working, which is as simple as running one of the executables in the sdk's tools folder.It seems to be blatantly refusing to run the binary. Here is the command and more info on the actual file:
Code:
jonhaller@jonhaller-laptop:~/Downloads/android-sdk-linux_x86/tools$ file adb
adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped
jonhaller@jonhaller-laptop:~/Downloads/android-sdk-linux_x86/tools$ ls[code].....
View 6 Replies
View Related
Dec 14, 2010
I'm trying to use the software tool here, using the AMD64 static binary for no other reason than I am trying to install and use it on a 64 bit instance of MythBuntu.
[URL]
I figured I follow the instructions here
[URL]
But the 64bit version doesn't have a configure file. The only file in there is a .exe, that doesn't do anything when you double click it in a Linux file explorer, and I didn't know you even use .exes on Linux.
After lots of googling (very little information out there that isn't specific to a software package) it looks like maybe you skip the `configure` and `make`, and go straight to `make install`? Can I do checkinstall instead as recommended on the Ubuntu wiki? Or have I got this totally wrong? Is this unnecessary, and I should just use the regular source files on my 64 bit Mythbuntu install?
View 7 Replies
View Related
Feb 25, 2011
I need to start a binary when Ubuntu 10.04 server boots. In which script should I insert the line to start this binary correctly according to Ubuntu policies?
View 2 Replies
View Related
Jun 7, 2011
I'm trying to install this app called genBlast. It's a bioinformatics tool that does some cool stuff (I guess the actual use doesn't matter that much). Anyway, it comes as a .tar.gz folder with about a dozen executables in it; no compiling necessary. I extracted it to the desktop so I didn't have to worry about permissions, and then just tried to run it from inside the directory (it's a command line app).
All of the executables work with a ./ except one, and it's the most important one for that matter. When I go to run it, I get the error message Code: bash: ./genblast: cannot execute binary file I've checked permissions with ls -l, run a chmod 'u+x' just to make sure, and everything else I can think of. But it just won't work. Also, I just installed it on another computer and it works fine, so I'm pretty sure it's on my end.
View 2 Replies
View Related
Nov 30, 2010
I have a binary file which display a lot of message when I run that binary. This binary file is statically linked with many files which are unknown to me. Is there any way to know from which file (obj or static lib) does these printf come from?
There is a way to get to know about the source of a symbol, but I am interested about the source of a string.
View 6 Replies
View Related
Jan 3, 2010
I am using Karmic. I just downloaded Cinelerra from sourceforge. Apparently there is no installation, you just run the binary (according to the Readme). The binary is set to be executable (-rwxr-xr-x), but when I double click it in nautilus nothing happens. When I go to the app directory in the terminal and do:
[Code]...
View 3 Replies
View Related
Sep 27, 2010
I want to retrieve a file--it's a compressed tar file, and I can get to it via a certain URL (with a query, so it's of the form <URL>?<search options>). If I go there via Firefox, I get a prompt to download the file. Lynx documentation says that if a file is binary, rather than displaying it it will give me the option of downloading it. (Which of course I will pick; I will use the option to save the commands I type, and then when I want to run it from a script give lynx the option telling it to retrieve and use those saved commands.)
The problem: this compressed tar file, which you'd think would be recognizable as a binary file, isn't; lynx displays a page of garbage and asks me whether I'd like another.
So, my question is: how does lynx decide what it thinks is a binary file? I have grabbed the sources, and will search them.
View 1 Replies
View Related
Dec 22, 2010
Trying to install Parallels Plesk Panel 10 x86_64 onto a completely new installation of Ubuntu 10.04.1 LTS
root@server:~# chmod +x parallels_installer_v3.7.1_build101014.17_os_Ubunt u_10.04_x86_64
root@server:~# ./parallels_installer_v3.7.1_build101014.17_os_Ubunt u_10.04_x86_64
-bash: ./p.arallels_installer_v3.7.1_build101014.17_os_Ubun tu_10.04_x86_64: cannot execute binary file
View 5 Replies
View Related
Oct 25, 2010
I have a binary file which works fine on X86. But it doesn't work on X86_64.
View 3 Replies
View Related
Jan 23, 2010
I'm running Ubuntu Karmic 9.10, I just downloaded Firefox 3.6 (the static tarball package, not the source code) and it runs smoother than 3.5, but it has one small issue: it won't use my flash plugin!I don't want to install via APT (the Mozilla Daily Builds PPA breaks my Firefox installation) but I DO want to use Firefox 3.6, so how do I make the static binary version of Firefox 3.6 use flash?
View 3 Replies
View Related
Mar 20, 2010
I'm running Intrepid and so far have failed to come up with anything other than detailed instructions on how to compile/install Gnome-Shell. Has anyone come up with a binary of gnome shell? It seems I once saw a link to a PPA...or maybe I'm just hallucinating
View 3 Replies
View Related
Oct 16, 2010
I have setup FTP Server on my Windows machine with Filezilla server. Now, if I try to copy files from it using Ubuntu 10.04, Lucid, it downloads incomplete files if I don't switch to binary mode.
Is there some config issue from Ubuntu client or something needs to be changed from Windows Client.
View 4 Replies
View Related
Dec 13, 2010
Is it possible to convert/recompile an already compiled x86 binary into an ARM binary?I'm using a BeagleBoard with a command-line Ubuntu (Maverick) and want to run a Ventrilo server but the x86 executable they supply cannot be run on the hardware as far as I can tell (most likely due to differing architecture).Unfortunately I don't have access to the source to allow me to recompile it natively.
View 3 Replies
View Related
Feb 21, 2011
I am learning C++ and wish to include some Boost functions in my code. My machine is running Debian Linux with the pre-installed boost binarys.I have a couple of questions:How do I include the library in my C++ code as there are no cpp or h files only binary files (eg /usr/lib/libboost_regex-d.so and /usr/lib/libboost_regex-d.a)How do I comile the code. I am using DialogBlocks for creating forms using wxwidgets. The editor also compiles the code using the gcc compiler. Do I have to give an instruction to the compiler saying which file is requried and where to find it? If so, any ideas how this is done?
View 4 Replies
View Related
Aug 19, 2010
I'm trying to autodetect if certain applications (for example, Firefoxre running. I figured the easiest way would be by checking process names.
View 2 Replies
View Related
Jan 5, 2011
I need to change the functions of some linux commands. We can't edit the binary files provided in /bin, is there any other method other than alias.For ex. - I need to change the function chmod so that it takes only three consecutive integers as input (chmod 777 filename) and nothing else ? Do I have to write by own code for it, or is there any other alternate method.
View 2 Replies
View Related
Dec 27, 2010
In a DOS prompt, I would like to ftp ASCII get a file from a Linux machine. The file was created in vi, just a normal text file.in DOS prompt:
Code:
ftp> ascii
200> Switching to ASCII mode.
[code]...
View 3 Replies
View Related
May 4, 2011
I have written a c program. And compiled it to make a binary. Now when i try to call this binary from php page, it is not being executed.
View 14 Replies
View Related
Aug 4, 2010
i have some files name libbeet.so.3.02 , libpos.so.3.04.I think all is binary files , but i am not able to see the contain of file.is there any script to read the file contain.
View 5 Replies
View Related
May 1, 2010
I have a binary value which I receive from a controller. Say this binary value is 42. Just plain hex 42. If you would look at that byte in a debugger you would see 42.Now this value hold 8 bits each indicating a high or a low output. So 0x42 = 01000010b. Which means bits 1 and 6 are '1'.When I would want to find out which bits are set and which are not in a language like C, I simply do:
Code:
mask = 0x80;
if (binval & mask) {...}
etc..
However I am programming in TCL, and I try to do:
Code:
set mask 0x80
if { [expr ($binval & $mask) > 0] } {...}
etc...
this fails. At the moment the expr is executed, $binval is evaluated and substituted so the expression I am evaluating is
Code:
set mask 0x80
if { [expr ('B' & '0x80') > 0] } {...}
etc...
Eventually I got it working by converting the $binval into a '0x42' string value, like this:
Code:
binary scan $binval c byte
set byte [format "0x%0x" $byte]
set mask 0x80
if { [expr ($byte & $mask) > 0] } {...}
etc...[
Then the expression yields what I want. But this seems so stupid and clumsy. Isn't there a better way where I can compare two binary values without conversions?
View 14 Replies
View Related
Apr 24, 2010
I need (for a friend) to create a "driver" disc for a webcam that is uvcvideo compatible. The webcam when plugged into my machine works out-of-the-box using the uvcvideo module.However, for some reasons, we want to include a binary and/or sources file with it.
I have downloaded the source files from http://linuxtv.org/hg/~pinchartl/uvcvideo/ , but compiling fails. (build-essential is installed). I did not compile it using sudo since I do not want to mess up what is already installed on my system. Compilation according to the enclosed INSTALL file is as simple as "make" (no ./configure).
However, make give me errors
Code:
/home/user/downloads/uvcvideo/uvcvideo-553dfd853cba/v4l/et61x251_core.c: In function 'et61x251_ioctl_v4l2':
/home/user/downloads/uvcvideo/uvcvideo-553dfd853cba/v4l/et61x251_core.c:2500: warning: the frame size of 1256 bytes is larger than 1024 bytes
[Code]...
View 1 Replies
View Related
Jun 20, 2011
I was having slowdown freezes with the NVIDIA proprietary drivers for Ubuntu 11.04 (additional drivers), so I decided to try the latest binary from nvidia that I had to install manually. I purged the system of the nvidia drivers and then installed the manual nvidia driver (sudo apt-get --purge remove nvidia-*). But I got the same slowdown freeze (just took a lot longer to happen now) and when I uninstalled the manual nvidia driver, X would fail to initialize (no nvidia modules). Is there a package or configuration utility I could use to install the nouveau driver after removing the manual nvidia drivers or am I screwed? Cause the Nouveau driver works fine, I just wanted to see if I could switch to Linux since all the games I play work fine through Wine.
View 1 Replies
View Related
Apr 29, 2010
[b] i got downloaded qt-sdk-linux-x86_64-opensource-2010.02.bin binary file then how to install that one[]
View 5 Replies
View Related