Skip to content

Crash on macOS: dyld[50112]: Library not loaded: @rpath/libclang.dylib #6

Description

@mario-grgic

Describe the bug
Built clangql from git on macOS Sonoma 14.4.1 with rust 1.71.1 and the resulting binary is crashing due to unset LC_RPATH, and hence the binary fails to load libclang.dylib

$ clangql
dyld[50112]: Library not loaded: @rpath/libclang.dylib
  Referenced from: <2E046823-CCFD-39AC-8724-B8765694F2F4> /usr/local/bin/clangql
  Reason: no LC_RPATH's found
Abort trap: 6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions