[OSX] fault during build of unix binaries

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
User avatar
marfis
Posts: 215
Joined: Fri Oct 31, 2014 10:29 am
Location: Zurich / Switzerland

[OSX] fault during build of unix binaries

Post by marfis » Sat Nov 20, 2021 10:14 pm

I recently tried to compile binaries for OSX, I'm on BigSur (11.6) and stumbled over a fault message during linking:

Code: Select all

LINK micropython
strip: object: <path>/micropython/ports/unix/micropython malformed object (unknown load command 10)
make: *** [micropython] Error 1
make: *** Deleting file `micropython'
apparently, when using macports, some of those dependencies get installed in /usr/bin.. so setting it to the path did the job

Code: Select all

export PATH="/usr/bin:$PATH" 
just thought I drop this here in case anybody googles this fault.

Post Reply