Skip to content
Guest Big Announcement

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

Featured Replies

Solved by Rook

  • Replies 40
  • Views 13.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • PROJECTNAME_LDFLAGS += -Wl,-segalign,4000

  • 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,

  • 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

@@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

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.