Problem running executable with ./


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problem running executable with ./
# 1  
Old 09-16-2011
Problem running executable with ./

Hey all,
I'm trying to execute a program and despite it appearing to be there, I keep getting this:
Code:
-bash: ./aisdispatcher: No such file or directory

To run it, I'm going into the directory where it is stored and running
Code:
./aisdispatcher

...the result of which should just be a listing of options and parameters for the command. Instead I keep getting the same error. Smilie All needed libraries are static compiled into the executable file. (according to the website)
I went as far as redownloading the file from the website using wget, the URL being http://www.aishub.net/downloads/aisd...her-1.0.tar.gz (in case you are feeling industrious.)
Anyone have any ideas as to what I'm doing wrong? I'm running Ubuntu Server 10.04, let me know if you want more info than that.
# 2  
Old 09-16-2011
Can you post output of:
Code:
ls -b ais*

# 3  
Old 09-16-2011
Quote:
Originally Posted by bartus11
Can you post output of:
Code:
ls -b ais*

Code:
$ ls -b ais*
aisdispatcher

# 4  
Old 09-16-2011
And
Code:
ls -l ais*

?
# 5  
Old 09-16-2011
Quote:
Originally Posted by bartus11
And
Code:
ls -l ais*

?
Here:
Code:
$ ls -l ais*
-rwxr-xr-x 1 pierce pierce 748860 2009-03-26 08:32 aisdispatcher

# 6  
Old 09-16-2011
What if you do ./aisdisp* ?

I'm wondering if there's spaces in the filename or something. Try using tab-completion too, see what pops up.
# 7  
Old 09-16-2011
Quote:
Originally Posted by Corona688
What if you do ./aisdisp* ?

I'm wondering if there's spaces in the filename or something. Try using tab-completion too, see what pops up.
No dice, good thought though.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem scripting a copy and renaming shell executable

I also posted this on macrumors forum, then i realized that this is a more suitable forum for matters like this. I apologize for the username, I was looking at a bag of doritos when it asked me for a username. lol I need a program (see below for what I've tried) and I think a shell program will... (23 Replies)
Discussion started by: ilovedoritos
23 Replies

2. Solaris

Find path of executable having problem

Hi cannot find the path to a running process on a host. I looked and tried some suggestions in forums to no avail. can someone please help? I need to know where this process is starting from as we have several versions in multiple directories --------- Process name 1201 1 0 Feb 14 ?... (14 Replies)
Discussion started by: mnassiri
14 Replies

3. Shell Programming and Scripting

Running an executable from bash prompt

Hi, I'm trying to run a program from the bash prompt and I don't understand why it is returning with an error. Dig is my C program, and it takes in parameters J4, detect, 3 and 0182F98E var1="cygdrive/c/2i/test fixture/software/mccdaqtest/debug/Dig J4 detect 3 0182F98E" when I do ... (6 Replies)
Discussion started by: oahmad
6 Replies

4. UNIX for Dummies Questions & Answers

Running Executable in Bash Script

Hey guys, so 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... (4 Replies)
Discussion started by: Duo11
4 Replies

5. UNIX for Advanced & Expert Users

How to stop direct running of executable

Dear Sir, I am using CentOS-5.2(64-bit) as an server side OS in a cluster with 32 slaves+1 Master. My question is, after compiling a file with ifort, I am suppose to get a executable(say a.out). I want my users to do ssh slave.local and then do ./a.out But is it possible to restrict... (0 Replies)
Discussion started by: snbanerjee
0 Replies

6. Shell Programming and Scripting

problem in making Awk executable script

Guys I placed #!path/awk -f placed awk script and used $1 to call 1st inputfile inside the script. But some where I did mistake. Could you please help me run this script as executable I forgot to mention I also used BEGIN before placing awk script. But nothing worked out. Script ... (2 Replies)
Discussion started by: repinementer
2 Replies

7. UNIX for Dummies Questions & Answers

running command prompt executable file in shell script

hi i have file extentioned with test.vbs. i am able to run this file n execute through command promt but i dont know how to run in shell script example: file name is test.vbs which contains strSoundFile = "C:\windows\Media\Notify.wav" Set objShell = CreateObject("Wscript.Shell") strCommand... (5 Replies)
Discussion started by: atl@mav
5 Replies

8. Programming

gdb: problem while debug an executable file

I created one file (test.cpp)and complied it and get the executable file(test) and run it.It is giving the out put but when I am trying to debug that executable.I am getting the error -- please tell me the solutions?? Thanks in advance ..... (2 Replies)
Discussion started by: smartgupta
2 Replies

9. Programming

Running an executable file

I've created a c program and compiled it with gcc, in unix. The file name is abc.c and it is run by typing the command ./abc I have another program which creates a child process, and I need this abc program to run on that child process. I've tried execvp(), but it doesn't work. How can I run... (2 Replies)
Discussion started by: sdsd
2 Replies

10. Programming

problem in creating executable for a client program

Hi, I am trying to run simple client server c program in unix.At the compling stage server is creating an executable but the client is not. below is the link to the source codes: http://www.cs.rpi.edu/courses/sysprog/sockets/server.c http://www.cs.rpi.edu/courses/sysprog/sockets/client.c ... (2 Replies)
Discussion started by: konas
2 Replies
Login or Register to Ask a Question