Thread: Execution Trouble

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    28

    Execution Trouble

    I am creating a small test program to call a shared object in Ubuntu. I compile it with no complaints and see the program name listed as an executable in the file system. However, when I am in Terminal and type the program name I get the "bash: program_name: command not found" error. If I double click on the icon in the file manager, nothing happens. Ideas?

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    How are you calling this program from the command line? Do you use the "./" prefix or do you use the complete path "/home/whoever/programname"?


    Jim

  3. #3
    Registered User
    Join Date
    Nov 2011
    Posts
    28
    DUH! DUH! Thank you for pulling my head out!!! Too used to other operating systems. Thank you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Parallel execution
    By otaconBot in forum C Programming
    Replies: 4
    Last Post: 09-12-2012, 07:14 AM
  2. Execution Sequence in C
    By abhaymukewar in forum C Programming
    Replies: 2
    Last Post: 07-08-2009, 09:38 AM
  3. execution of a C program
    By kris.c in forum C Programming
    Replies: 7
    Last Post: 07-27-2006, 11:14 AM
  4. Error in execution
    By hypertension in forum C Programming
    Replies: 1
    Last Post: 02-03-2003, 12:05 PM
  5. Parallel execution
    By Panopticon in forum C++ Programming
    Replies: 2
    Last Post: 01-27-2003, 01:57 AM