Hi,
    Try  $ file  <name of executable>
    to get the type of the file.

    Also try this
    $ more <name of executable>
    and check out the first line... if this is a script, it should point to an binary 
like
#!/usr/local/perl/bin/perl
    (basicaly #! followed by name of the binary which would be invoked to run this
script.)
    If that binary is not found (or executable) the same error is printed.

Rajat

Raju Mathur wrote:

> >>>>> "Sanjeev" == Sanjeev \"Ghane\" Gupta <Sanjeev> writes:
>
>     Sanjeev> Chetan, Could you try ldd -v ./filename and see what libs
>     Sanjeev> it is trying to hit?
>
> Looks like it's an a.out binary being run on an ELF system with no
> a.out support or no a.out libs.
>
> Regards,
>
> -- Raju
>
>     Sanjeev> And are the bulid errors compile time or link time?
>
>     Sanjeev> -- Sanjeev
>
>     Sanjeev> ----- Original Message ----- From: "chetan dutta"
>     Sanjeev> <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:
>     Sanjeev> Monday, March 11, 2002 12:47 AM Subject: [ilugd]: Strange
>     Sanjeev> problem
>
>     >> Hi!
>     >>
>     >> i'm facing a strange problem, there is one executable on a
>     >> 486/slackware machine (Kernel 2.0.3x), it is a chip fabrication
>     >> process simulator
>     Sanjeev> written
>     >> in fortran + c + lex + XLib. when i copied & tried to run this
>     >> file on a rh7.1, i get an error message saying no such file
>     >> or.... ie the bash is
>     Sanjeev> not
>     >> able to find the executable but i can ls /cat it! i checked the
>     >> permissions.... its marked executable! what could be the
>     >> problem? and yes,
>     Sanjeev> i
>     >> used ./filename to execute it!  if this is because of some
>     >> kernel/ libc differences, should't i be getting some other
>     >> error?!!
>     Sanjeev> [snip]
>
> --
> Raju Mathur          [EMAIL PROTECTED]          http://kandalaya.org/
>                      It is the mind that moves
>
>           ================================================
> To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
> To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
>header
> Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
>           =================================================

-- - Popi Classification -------------------------------------------------------
Classification applies if checked...
[ ] General Business Information
[ ] Motorola Internal Use only
[ ] Motorola Confidential Proprietary

--- A Nice Quote --------------------------------------------------------------
"When the only tool you have is a hammer, you tend to treat everything as if it were a
nail." -- Abraham Maslow
-- Contact Me -----------------------------------------------------------------
 Rajat Bhatia
 [EMAIL PROTECTED]
 Tel:    +91-124-6307212   Ext 1350
            +91-124-6303212   EPABX Operator
 Fax :  +91-124-6306679



          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to