[conspire] cannot execute binary file

Paul Zander paulz at ieee.org
Wed Aug 31 22:14:38 PDT 2016


And if I eliminate the extra "." all is well
./gmsh 
# works
. ./gmshbash: .: ./gmsh: cannot execute binary file


Wonder where I got the idea for the extra "."  Maybe it's just because I haven't used CLI very much of late.

For the record, with both Firefox and gmsh, I downloaded a compressed file that included the executables.  I did not compile anything for either problem.
Paul


      From: Rick Moen <rick at linuxmafia.com>
 To: Paul Zander <paulz at ieee.org> 
Cc: "conspire at linuxmafia.com" <conspire at linuxmafia.com>
 Sent: Wednesday, August 31, 2016 7:52 PM
 Subject: Re: [conspire] cannot execute binary file
  
Quoting Paul Zander (paulz at ieee.org):

> Here is the transcript:
> $$ . ./gmsh
> bash: .: ./gmsh: cannot execute binary file
> 
> 
> $$ ldd ./gmsh

Well, all of the library sonames (shared object names) _resolved_ to
library binaries, so that much worked as intended.  That doesn't
guarantee that all of its dependencies were actually _met_, though.

You say this is an 'executable file', but you didn't say its provenance,
e.g., whether you compiled it.  If you compiled it, the burden is on you
to make sure that all of its dependencies are met and it has all other
necessary conditions met.  If you didn't, then good luck making sure all
those requirements are met, because you probably lack the necessary
infromation.

Just a minor point:  It's of the correct archtecture and you're certain
it's set executable, right?

Personally, by the way, I'd do './gmsh' to run the executable, rather
than sourcing it.



   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/conspire/attachments/20160901/7e8a7af6/attachment.html>


More information about the conspire mailing list