Jump to content

clang++: error: unable to execute command: posix_spawn failed: bad executable or shared library


Go to solution Solved by Rook,

41 posts in this topic

Recommended Posts

Posted

I remember being able to compile tweaks at one point, but they never worked, so I just assumed it was theos at the time. Now that I think about it, I believe I forgot to add that one line in the makefile. :p

The ARCH?

Posted

Got it working again, @@DiDA. Back to the same problem of the tweak having no effect now :p

How did you get it working?

 

It could help others @@shmoo

Posted

How did you get it working?

 

It could help others @@shmoo

I used easyTheos, had no settings enabled, then installed that. After that, I reinstalled the dependencies as well as downgrade LD64 and Darwin CC Tools. Then, I signed the binaries in /usr/bin again, and it worked fine

Posted

I found something else. If you have the ARCHS line as the first line of the makefile, it'll give this error. If you have something else first, it'll compile fine (did for me at least). The only thing I don't know is if moving it changes if the tweak works or not. @@DiDA @@shmoo

Posted (edited)

@@shmoo Whenever you see this, try signing link in /usr/bin

 

My error involved lipo instead of linker, but signing lipo worked for me

 

Have you tried it? If so, any results? @@shmoo

Updated by Pro
Posted

This has been happening to me on my iPhone 5c iOS 9.0.2

Try the above suggestions.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines