Skip to content

Building with LLVM 10.0.1 installed via Homebrew fails #6087

@kubkon

Description

@kubkon

As reported by @jbsolomon-fw in #4799, when building on macOS with LLVM 10.0.1 installed via Homebrew, linker trips with the following error:

ld: library not found for -llibxml2.tbd

This seems like an upstream problem with llvm-config which reports the following required system libraries to link properly with LLVM:

$ llvm-config --system-libs
-lz -lcurses -lm -llibxml2.tbd

Metadata

Metadata

Assignees

No one assigned

    Labels

    os-macosupstreamAn issue with a third party project that Zig uses.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions