Skip to content

linker error on Mac m4 pro 15.7.1 #4633

@r7raul1984

Description

@r7raul1984
FAILED: [code=1] folly/logging/example/logging_example 
Undefined symbols for architecture arm64:
  "fmt::v9::vformat(fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char>>)", referenced from:
      folly::LogStreamProcessor::vformatLogString(folly::Range<char const*>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char>>, bool&)::'lambda'()::operator()() const in main.cpp.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
+ echo 'build failed'
build failed
+ exit 1

CMake Version: 4.2.1
folly: https://github.com/facebook/folly/archive/refs/tags/v2025.04.28.00.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions