Page 1 of 1

[OSX] fault during build of unix binaries

Posted: Sat Nov 20, 2021 10:14 pm
by marfis
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.