Closed IngwiePhoenix closed 4 years ago
I was building the toolchain under macOS Mojave and had those issues with the lib path after installing with brew.
A fix for the macOS dependency checks was added in #88
Just in case, there's also a compiled macOS toolchain here: https://github.com/bucanero/ps3toolchain/releases/tag/macos-latest-a5186b17
Recently, actually since a while now, Apple does not put certain files into
/usr
anymore - for instance, thencurses.h
file is actually here:/Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/ncurses.h
. And when installinglibelf
through Homebrew (brew
), then the correspondinglibelf.h
is actually located aslibelf/libelf.h
.Symlinking the two above fixed this and let the toolchain script pass the checks. Might be notable to mention here.
The
libelf.h
check can be done by just looking one folder deeper, and the ncurses check can be done either by a try-compile, or by looking forlibncurses.dylib
instead, which actually IS located in/usr/lib
.