General :: Fatal: Bad Magic Number In Executable `prime' (not An Executable?)
Sep 3, 2010
I am trying to run Wattch simulator in linux.But it is giving the error below. what is this error and what do I do about it?
fatal: bad magic number in executable `prime' (not an executable?)
View 1 Replies
ADVERTISEMENT
Aug 21, 2011
I hope this post stands in the right section.I have a commandline i need to enter in terminal when i want to run a program. i tought lets put that piece of command in an .sh file and just click the file to run the program (then i dont need to open terminal first an give in the command) however the .sh file does not open the program. so i propably need to make a executable (application/x-executable).
View 3 Replies
View Related
Jun 20, 2010
I am running into a snag on .exe files in Lucid. I have Wine installed, but I can not open the file as it is blocked from executing with a window popping up telling me that this file was blocked due to security reasons. I go into the files properties and try to change the permission but that does not help. Is there a way to get around this? Possibly in the terminal as root?
View 3 Replies
View Related
Aug 15, 2010
writing a program to find the prime numbers.i came to know that sieve of atkin is the most efficient algo to find the prime numbers.i am finding difficult to understand it
View 3 Replies
View Related
Jul 28, 2010
Permission for files:
chmod 664 myFile // rw-rw-r--
And for folders:
chmod 774 myFolder // rwxrwxr--
If I only use the "read and write" permission, the folders won't show its contents, why ?
View 6 Replies
View Related
Mar 10, 2010
I cannot figure out how to "install" a program I downloaded. It comes in Windows, Mac, and Linux flavors, and I did acquire the Linux version, which comes in a ZIP file. After I unzip it and cd to the directory it is in, I had an earlier version working a few months ago, but cannot recall how I made it work back then.
View 2 Replies
View Related
Oct 21, 2009
some of the programs that i downloaded are launched with a linux executible file and i don't know how to make it work, how do i execute it double clicking doesn't help it just asks me which program i would like toopen the file with
View 5 Replies
View Related
Oct 20, 2010
I have a Nvidia driver that i need to run from the console.How do i do it and how do i find the file (to run it) from the console
View 14 Replies
View Related
Jun 14, 2010
If I have the below sudoers entryusera ALL=(userb) NOPASSWD: /home/userc/bin/executable-fileusera ALL=(userb) NOPASSWD: /home/userc/bin/link-to-another-executable-fileWhen I log-on as usera and try running the below commands, it workssudo -u userb /home/userc/bin/executable-filebut NOT the one below.sudo -u userb /home/userc/bin/link-to-another-executable-fileSorry, user usera is not allowed to execute '/home/userc/bin/link-to-another-executable-file' as userb on hostname.
View 1 Replies
View Related
Sep 28, 2010
I have a compiled program, a tagger to identify parts of text, which claims it does not exist.This executable has to be called by a generated script, which is how I ran into this issue. What are the reasons this error could show up?The executable was copied from another machine.The file does have execution privileges (it gives a proper not-allowed message without them)I've tried copying the file to a different location (same problem)I've tried replacing the file with a fresh copy (same problem)The file does exist. Opening it with pico shows a file with binary data.
View 4 Replies
View Related
May 27, 2010
I have an executanle file in a directory (say /home/mahmood/test/do-sample) and in a bash file I want to run it:
Code:
#!/bin/bash
M_VARIABLE = $HOME/test
[code]...
View 3 Replies
View Related
Aug 5, 2009
I have an executable file called jboss in the current directory:-rwxr-xr-x 1 test jboss 7151 Aug 5 11:04 jbossAn in the file jboss it looks as follow:
Code:
...
#---------------------------
# command handling
[code]...
View 3 Replies
View Related
Jan 24, 2010
I have created a file named as pm under the path /home/ppp/ i.e. /home/ppp/pmTo make it executable, I've used command: chmod a+x /home/ppp/pm while residing in root directory.But while trying to run from root by typing ./pm or within the directory /home/ppp, it was displaying that directory not found.Please help by providing the step by step procedure, so that I would be able to run my file from root or from the directory.
View 3 Replies
View Related
Jan 18, 2011
Is there any way to change the name "a.out" of executable file to any other name of our choice..
View 5 Replies
View Related
Dec 6, 2010
I have program (command line) that requires another program be installed and in its path. So I downloaded the file (.tgz), and extracted. I followed the compile and make instructions and ended up with a folder on my desktop that contains the excutable but is not in the path of the the other program. How can I do this..I think that I have about 20 more .tgz files to do this with.
View 2 Replies
View Related
Feb 23, 2011
i run this command on file : chmod u+x recon (recon is the name of the file). then i run the file in question (. recon). i just want to stop it; how to do this ?
View 9 Replies
View Related
Apr 19, 2010
I've compiled and added a kernel in Gentoo before. It doesn't seem to go quite as smoothly in Kubuntu 9.10 These are the steps I followed: I unpacked the kernel in /usr/src and ran make && make modules_install succesfully. Then I copied the kernel in arch/x86/boot/bzImage to /boot/bzImage-2.6.32 This entry is the one given by Kubuntu:
Code:
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
[code]....
I just read the script that update grub uses. Changed the name of the kernel from xyz to vmlinuz-2.6.32-generic and it worked.
View 1 Replies
View Related
Jul 9, 2010
For PE executable, I can list the imported symbols using
dumpbin /imports FILE.EXE
or using the depends utility which is GUI application.
`nm ELF-binary' just returns "no symbols".
View 1 Replies
View Related
May 9, 2011
Suppose there is a directory named mydir containing ...
aaa.cpp
aaa.h
bbb.cpp
bbb.h
Makefile
a
b
Where a,b are executable files. What I want to is to only copy a and b to another location. Is it possible? (other than by manually issuing copy a,b another_dir).
View 2 Replies
View Related
Sep 23, 2009
I am creating a executable file using c in linux...I want to make the output lines colourful...
Example:
I want to make the "Hello" colourful...
View 1 Replies
View Related
Mar 27, 2011
I've been trying to write a bash script called runSorter.sh that runs an executable that also takes in some parameters and outputs the results to a text file. The executable, sorter, takes in a number parameter. I want to make it so that you can input as many number parameters into runSorter.sh as you want and it will run the sorter executable for each one. So far, what I have looks like this:
#!/bin/bash
args=("$@")
INDEX=0
if [ -z args ]; then
echo "Error"
else
while [ $# -gt $INDEX ]; do
NUM=${args[$INDEX]}
echo $NUM
echo ./sorter $NUM
let INDEX=INDEX+1
done
fi
My problem is that when I run ./run-sorter.sh 100 on my terminal, it just prints this to the screen:
./sorter 100
How can I have so that it properly executes sorter and outputs everything to a text file?
View 4 Replies
View Related
Feb 20, 2011
I've downloaded firefox 4.0b11.tar.bz2. How should I install it and make executable?
View 7 Replies
View Related
Mar 10, 2010
I am trying to get a 32-bit executable to run on 64-bit Ubuntu. I had to install multilib, and then when I ran the executable, I got this error:
Code:
./x86/bin/target_base_mac: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
So I installed libxml2, but I still get that same error. The file does exist:
Code:
test@olds:~/simulation$ ls -lrt /usr/lib/libxml2.so.2
lrwxrwxrwx 1 root root 16 2010-03-10 13:05 /usr/lib/libxml2.so.2 -> libxml2.so.2.7.5
View 3 Replies
View Related
Feb 23, 2011
can chmod make any file executable?
View 4 Replies
View Related
Oct 29, 2010
I would like to start with simple example:
1. Create a "Hello world" executable.
2. Attach files to it.
3. Add the code in in "Hello" executable to extract the files to a custom location.
1st is simple.
For second, above mentioned article suggest that CArchive can be created using Python. It means you can create a CArchive using "hello" executable and other files. How do you do that using Python?
For 3rd, I need more info about the implementation using C.
View 2 Replies
View Related
Dec 21, 2009
How Do I make a file a executable program ?
View 3 Replies
View Related
Jan 26, 2011
best program to open .exe files on Ubunut!
View 2 Replies
View Related
Jun 22, 2011
I have a computer with Windows and I am running a Matlab program remotely in a Linux server. That (matlab) program will use an executable file (.exe) to analize some data; and that data will be used as input to a program that I can only run in the linux server.I need to run an executable file (.exe) from matlab in a linux enviroment. Is this possible?
View 13 Replies
View Related
May 11, 2011
I recently got the information that Windows software do not run in Linux as such. In order to run these software (Running the software also includes installing the software by running the set-up executable file) I need to install 'wine' on my system and then run the set-up files from within this 'wine'. I therefore wish to install 'wine' on my system in order to run the corresponding Windows set-up files (which are executable files). I am running Linux Mint version 10 on my system.
View 2 Replies
View Related
Mar 23, 2011
The Linux ldd command can show the dynamic libraries used by an executable. It's a bash script.But it seems to be fragile, and does not work on some binaries. Is there an alternative tool? In my specific example, I can use:
% file datab2txt
datab2txt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, not stripped
but ldd fails with:
% ldd -v datab2txt
not a dynamic executable
View 2 Replies
View Related