Skip to content

[BUG] Contradiction in updated macOS build instructions #15344

Open

Description

@dwdougherty

Describe the bug

I'm currently updating the Redis docs site build instructions and found the following:
The initial notes re. Redisearch says "Step 6's PATH does not prepend …/opt/libtool/libexec/gnubin, so macOS's /usr/bin/libtool is used" — but the README's actual build command does prepend it. Here's the context:

The following instructions apply to both Intel and Apple Silicon (ARM) Macs.

Note: Three RediSearch-specific build constraints apply on macOS and are handled in the steps below:

The cross-language LTO that RediSearch enables by default requires Linux; its build script aborts on macOS with Error: LTO is only supported on Linux. Step 6 sets LTO=0 to disable it.
RediSearch's Rust workspace uses edition 2024 and features stabilized in Rust 1.94, so the Rust toolchain in step 3 is pinned to 1.94.0. Older Rust fails with feature edition2024 is required.
RediSearch's CMake build calls libtool -static (BSD libtool syntax). Step 6's PATH does not prepend $HOMEBREW_PREFIX/opt/libtool/libexec/gnubin, so macOS's /usr/bin/libtool is used for that step.

But, if you read step 6, you can see that ".../gnubin" is prepended. Both can't be correct.

cd ~/src/redis-
export HOMEBREW_PREFIX="$(brew --prefix)"
export BUILD_WITH_MODULES=yes
export BUILD_TLS=yes
export LTO=0
PATH="$HOMEBREW_PREFIX/opt/libtool/libexec/gnubin:$HOMEBREW_PREFIX/...:$PATH"

Activity

  1. collinfunk commented on Jun 16, 2026

    @collinfunk

    Note that even with this change, RediSearch won't build correctly on macOS without my PR #14854 and some other things discussed in the comments there.

  2. dwdougherty commented on Jun 18, 2026

    @dwdougherty
    ContributorAuthor

    Hi @kalinstaykov. I need to get the Redis OSS build instructions updated on the docs site. I have an open PR to do so, but I need resolution to this ticket before I commit. Would you please let me know what needs to be changed in the highlighted bits above?

    Thank you.

  3. kalinstaykov commented on Jun 22, 2026

    @kalinstaykov
    Contributor

    Hi @kalinstaykov. I need to get the Redis OSS build instructions updated on the docs site. I have an open PR to do so, but I need resolution to this ticket before I commit. Would you please let me know what needs to be changed in the highlighted bits above?

    Thank you.

    I have updated https://github.com/redis/redis/blob/unstable/README.md and I've tested it so feel free to copy what you need from there.

  4. scarlettmitchell121-afk commented on Jun 22, 2026

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

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