-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Description
I am encountering runtime errors when trying to execute the olatte
binary on macOS Sonoma 14.4.1 with the M3 Max chip. The binary throws errors related to dynamic library loading issues and unresolved symbols, particularly with libc++.1.dylib
and libunwind.1.dylib
.
Steps to Reproduce
- Download and install
olatte
using the provided installation scriptcurl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/Sin7Y/ola-os/pre-alpha/ola-cli.sh | bash
- Attempt to run
olatte --version
to check the installation. - Encounter errors regarding missing libraries and unresolved symbols.
Expected Behavior
The olatte
command should execute without errors, displaying the version number of the installed software.
Error Messages
Library not loaded: @rpath/libc++.1.dylib
Library not loaded: @rpath/libunwind.1.dylib
weak-def symbol not found '__ZnwmSt19__type_descriptor_t'
Environment
- Operating System: macOS Sonoma 14.4.1
- Hardware: Apple M3 Max
- Software Version: [email protected]
- Toolchain: LLVM provided via Homebrew
Troubleshooting Steps Attempted
- Attempted setting the
DYLD_LIBRARY_PATH
to include the paths wherelibc++.1.dylib
andlibunwind.1.dylib
are located. - Tried using
install_name_tool
to modify the binary'srpath
, but encountered an error stating that the program must be relinked. - Reinstallation of
olatte
and checking for different versions or updates.
Additional Context
The issues seem to be related to dynamic linking and symbol resolution specific to the new hardware architecture of the Apple M3 Max. Compatibility with the existing libraries, especially those provided by LLVM via Homebrew, might be causing these issues.
Request
I am looking for guidance on resolving these runtime issues, possibly through proper configuration adjustments or updates to the toolchain or olatte
itself to support macOS Sonoma on M3 Max hardware.
Thank you for any help you can provide!