What is the output of the ‘file’ command on the original unmodified binary and 
also on the modified binary?  Can you send along the results for both?  Thanks!

Dave








From: Jim Durham
Sent: ‎Wednesday‎, ‎March‎ ‎19‎, ‎2014 ‎1‎:‎02‎ ‎PM
To: PowerPC List Debian




Hi,

I have Debian 7.4 working fairly well on a 20 inch iMac G5 .  Python seems
to work OK,  except that pyinstaller produces a binary file that the shell
refuses to execute.

Looking at the file with beav (hex editor) I find that the header 
differs from
other files that do execute.  I have 'fixed' these bytes, but still no 
joy on
executing the file.

Its been a long time since I hacked on file headers,etc, so any thoughts 
or help would
be appreciated.

Here is what the shell says:

bash: ./XOlog0.8.9: cannot execute binary file


And a dump of the file's header from beav.


           0: 7F 45 4C 46 01 01 01 00  00 00 00 00 00 00 00 00 
.ELF............
          10: 02 00 03 00 01 00 00 00  80 96 04 08 34 00 00 00 
............4...
          20: 60 6C 01 00 00 00 00 00  34 00 20 00 07 00 28 00 
`l......4. ...(.
          30: 25 00 22 00 06 00 00 00  34 00 00 00 34 80 04 08 
%.".....4...4...



Thanks,

Jim



-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5329cda2.1050...@gmail.com

Reply via email to