l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2004 Feb 26 12:29

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Binary problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Binary problems



On Thu, 26 Feb 2004, Doctorcam wrote:

> Thanks, Jeff (& Pete)
> 
> * Jeff Newmiller (jdnewmil@dcn.davis.ca.us) wrote:
> > On Thu, 26 Feb 2004, Doctorcam wrote:
> > 
> > > I have downloaded a commercial fax program (free version, for
> > > evaluation).  It is in binary (i.e. *.bin).  I have permissions set to
> > > execute (100755).  
> > > 
> > > It will not run, even as "sh primafax_l.bin".
> > 
> > why would giving a binary executable to bash as an argument improve its
> > chances of running?
> > 
> Because with strace primafax_l.bin, or with primafax_l.bin alone, I
> get "command not found".  I wasn't so much trying to get it running as
> trying to see why it wouldn't run.  Any port in a storm.

Bash, unlike COMMAND.COM in M$-land, is typically configured NOT to
include the current directory when it goes looking for commands to
execute.  This is to avoid accidentally running trojan executables.

Sounds to me like you want to provide a directory specification for the
executable...

   ./primafax_l.bin

or

   strace ./primafax_l.bin

[...]

> ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically
> linked, stripped 
> 
> What else would you need to know?

This is good... means you aren't dealing with some kind of tarball. :)

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.