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 script curl --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: llvm@18.1.5
- Toolchain: LLVM provided via Homebrew
Troubleshooting Steps Attempted
- Attempted setting the
DYLD_LIBRARY_PATH to include the paths where libc++.1.dylib and libunwind.1.dylib are located.
- Tried using
install_name_tool to modify the binary's rpath, 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!
Description
I am encountering runtime errors when trying to execute the
olattebinary 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 withlibc++.1.dylibandlibunwind.1.dylib.Steps to Reproduce
olatteusing the provided installation scriptcurl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/Sin7Y/ola-os/pre-alpha/ola-cli.sh | basholatte --versionto check the installation.Expected Behavior
The
olattecommand should execute without errors, displaying the version number of the installed software.Error Messages
Library not loaded: @rpath/libc++.1.dylibLibrary not loaded: @rpath/libunwind.1.dylibweak-def symbol not found '__ZnwmSt19__type_descriptor_t'Environment
Troubleshooting Steps Attempted
DYLD_LIBRARY_PATHto include the paths wherelibc++.1.dylibandlibunwind.1.dylibare located.install_name_toolto modify the binary'srpath, but encountered an error stating that the program must be relinked.olatteand 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
olatteitself to support macOS Sonoma on M3 Max hardware.Thank you for any help you can provide!