TransWikia.com

How to fix "Killed: 9" error in mac os?

Ask Different Asked on November 8, 2021

I’ve upgraded my OS to Sierra recently, in El Capitan I had some apps and they were working perfectly, but in Sierra they show me:

Killed: 9

I even execute them via sudo but they won’t work.

Any idea?

5 Answers

If you replace a signed macOS binary by using cp instead of mv then macOS caches the signature, doesn't like the look of it because the file changed and kills your process when you try and start the new binary. Clearly, this is a bug in macOS. We had to update our install scripts to copy the file a different way.

Answered by Chris Pugmire on November 8, 2021

I was able to fix it after running this command found in this homebrew github discussion:

brew reinstall pcre2 gettext

Hope this helps

Answered by Felix on November 8, 2021

in my case there was some process called syspolicy or something like that, once i killed that process, running my command python3 no longer returned killed 9.

Answered by luky on November 8, 2021

Close the terminal window you're getting those errors in and open a new one.

Answered by Boris on November 8, 2021

  1. Download UPX. For example, using Homebrew, run brew install upx.

  2. Decompress the binary:

    upx -d /path/to/App.app/MacOS/App
    

Also see “This UPX compressed binary contains an invalid Mach-O header and cannot be loaded.”

Answered by grg on November 8, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP