Skip to content

Error installing homebrewed folly as dependency for Fizz/Wangle/MVFST #2552

@gigaimage

Description

@gigaimage
λ brew install folly
Warning: You are using macOS 12.
We (and Apple) do not provide support for this old version.
You may have better luck with MacPorts which supports older versions of macOS:
  https://www.macports.org

This is a Tier 3 configuration:
  https://docs.brew.sh/Support-Tiers#tier-3
You can report Tier 3 unrelated issues to Homebrew/* repositories!
Read the above document before opening any issues or PRs.

==> Fetching downloads for: folly
✔︎ API Source folly.rb                                                                                                                                                     Verified      3.2KB/  3.2KB
✔︎ Formula folly (2026.01.05.00)                                                                                                                                           Verified      4.8MB/  4.8MB
==> cmake -S . -B build/shared -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_RPATH=@loader_path/../lib -DCMAKE_LIBRARY_ARCHITECTURE=x86_64 -DFOLLY_USE_JEMALLOC=OFF
==> cmake --build build/shared
Last 15 lines from /Users/gigaimage/Library/Logs/Homebrew/folly/02.cmake.log:
      folly::unique_hash_key_algo_strong_blake3_fn<16ul>::operator()(std::__1::span<folly::detail::unique_hash_key_item const, 18446744073709551615ul>) const in UniqueHashKey.cpp.o
      folly::unique_hash_key_algo_strong_blake3_fn<24ul>::operator()(std::__1::span<folly::detail::unique_hash_key_item const, 18446744073709551615ul>) const in UniqueHashKey.cpp.o
      folly::unique_hash_key_algo_strong_blake3_fn<32ul>::operator()(std::__1::span<folly::detail::unique_hash_key_item const, 18446744073709551615ul>) const in UniqueHashKey.cpp.o
      folly::detail::unique_hash_key_algo_fast_xxh3_init() in UniqueHashKey.cpp.o
      folly::detail::unique_hash_key_init_process_key_blake3(char const*, std::__1::span<unsigned char, 18446744073709551615ul>) in UniqueHashKey.cpp.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
edLifoSem.cpp.o CMakeFiles/folly_base.dir/folly/synchronization/detail/Sleeper.cpp.o CMakeFiles/folly_base.dir/folly/system/AtFork.cpp.o CMakeFiles/folly_base.dir/folly/system/EnvUtil.cpp.o CMakeFiles/folly_base.dir/folly/system/HardwareConcurrency.cpp.o CMakeFiles/folly_base.dir/folly/system/MemoryMapping.cpp.o CMakeFiles/folly_base.dir/folly/system/Pid.cpp.o CMakeFiles/folly_base.dir/folly/system/Shell.cpp.o CMakeFiles/folly_base.dir/folly/system/ThreadId.cpp.o CMakeFiles/folly_base.dir/folly/system/ThreadName.cpp.o CMakeFiles/folly_base.dir/folly/testing/TestUtil.cpp.o CMakeFiles/folly_base.dir/folly/tracing/AsyncStack.cpp.o CMakeFiles/folly_base.dir/folly/io/async/test/ScopedBoundPort.cpp.o CMakeFiles/folly_base.dir/folly/io/async/test/SocketPair.cpp.o CMakeFiles/folly_base.dir/folly/io/async/test/TimeUtil.cpp.o CMakeFiles/folly_base.dir/folly/memcpy.S.o  /usr/local/lib/libfmt.12.1.0.dylib /usr/local/lib/libboost_context.dylib /usr/local/lib/libboost_filesystem.dylib /usr/local/lib/libboost_program_options.dylib /usr/local/lib/libboost_regex.dylib /usr/local/lib/libboost_thread.dylib /usr/local/lib/libboost_atomic.dylib /usr/local/lib/libboost_container.dylib /usr/local/lib/libboost_chrono.dylib /usr/local/lib/libboost_date_time.dylib /usr/local/lib/libdouble-conversion.dylib /usr/local/lib/libgflags.2.3.0.dylib /usr/local/lib/libglog.dylib /usr/local/lib/libevent.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/lib/libz.tbd /usr/local/lib/libssl.dylib /usr/local/lib/libcrypto.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/lib/libbz2.tbd /usr/local/lib/liblzma.dylib /usr/local/lib/liblz4.dylib /usr/local/lib/libzstd.dylib /usr/local/lib/libsnappy.dylib /usr/local/lib/libsodium.dylib -lc++abi
gmake[2]: *** [CMakeFiles/folly.dir/build.make:796: libfolly.0.58.0-dev.dylib] Error 1
gmake[2]: Leaving directory '/private/tmp/folly-20260107-35686-91k4dn/folly-2026.01.05.00/build/shared'
gmake[1]: *** [CMakeFiles/Makefile2:198: CMakeFiles/folly.dir/all] Error 2
gmake[1]: Leaving directory '/private/tmp/folly-20260107-35686-91k4dn/folly-2026.01.05.00/build/shared'
gmake: *** [Makefile:139: all] Error 2
λ system_profiler SPSoftwareDataType
Software:

   System Software Overview:

     System Version: macOS 12.7.6 (MacOS Monterey)
     Kernel Version: Darwin 21.6.0
     Boot Volume: Macintosh HD
     Boot Mode: Normal
     Computer Name: gigaimage
     Secure Virtual Memory: Enabled
     System Integrity Protection: Enabled
HOMEBREW_VERSION: 5.0.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: bf65f9c19a7a62abcbdac9c30cf3ff844d0fd633
Last commit: 2 days ago
Branch: stable
Core tap JSON: 07 Jan 14:46 UTC
Core cask tap JSON: 07 Jan 14:46 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.vgSL5gZw1Z/org.xquartz:0
HOMEBREW_DOWNLOAD_CONCURRENCY: 16
HOMEBREW_FORCE_BREWED_CURL: set
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_BOOTSNAP: set
Homebrew Ruby: 3.4.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.4.8/bin/ruby
CPU: octa-core 64-bit haswell
Clang: 14.0.0 build 1400
Git: 2.52.0 => /usr/local/bin/git
Curl: 8.17.0 => /usr/local/opt/curl/bin/curl
macOS: 12.7.6-x86_64
CLT: 14.2.0.0.1.1668646533
Xcode: 14.2

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/icu4c@78:/usr/local
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/pkgconf/lib/pkgconfig:/usr/local/opt/icu4c@78/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/lz4/lib/pkgconfig:/usr/local/opt/zstd/lib/pkgconfig:/usr/local/opt/double-conversion/lib/pkgconfig:/usr/local/opt/fmt/lib/pkgconfig:/usr/local/opt/gflags/lib/pkgconfig:/usr/local/opt/glog/lib/pkgconfig:/usr/local/opt/openssl@3/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/libsodium/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/12
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk

[02.cmake.log](https://github.com/user-attachments/files/24474705/02.cmake.log)

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