Skip to content

Runtime Errors with olatte on macOS Sonoma 14.4.1 with M3 Max Chip #36

@Zephyrsailor

Description

@Zephyrsailor

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

  1. 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
  2. Attempt to run olatte --version to check the installation.
  3. 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

  1. Library not loaded: @rpath/libc++.1.dylib
  2. Library not loaded: @rpath/libunwind.1.dylib
  3. 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

  1. Attempted setting the DYLD_LIBRARY_PATH to include the paths where libc++.1.dylib and libunwind.1.dylib are located.
  2. Tried using install_name_tool to modify the binary's rpath, but encountered an error stating that the program must be relinked.
  3. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions