Skip to content

Readline is not available in macos binaries #2454

Description

@behrang

In the released binaries for macOS, there is no support for readline. Even using -R for example in lite-client doesn't activate it.

I had to build from source and install homebrew readline lib to enable it.

Here is what I did in case someone needs it:

brew install cmake ninja readline openssl pkg-config

git clone --recursive https://github.com/ton-blockchain/ton.git
cd ton

mkdir build
cd build

cmake .. \
  -G Ninja \
  -DCMAKE_BUILD_TYPE=Release \
  -DREADLINE_INCLUDE_DIR=/opt/homebrew/opt/readline/include \
  -DREADLINE_LIBRARY=/opt/homebrew/opt/readline/lib/libreadline.dylib

ninja lite-client

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