Skip to content

'Installing libBGPStream' for MacOS out of date #255

@rdpickard

Description

@rdpickard

Just a documentation issue on the site, but took me a little bit to work out to get bgpstream and pybgpstream working on OS X

On the MacOS install page it says installs by HomeBrew package manager are "Coming Soon", where as 'brew install bgpstream' works fine

In the TroubleShooting section of pybgpstream the steps references using the '--global-option' for pip which is deprecated after pip 24

To install pybgpstream through pip and build it against an installation through HomeBrew set the include and library paths through environment variables, not as pip parameters

export LDFLAGS="-L/opt/homebrew/lib"
export LD_LIBRARY_PATH=/opt/homebrew/lib
export C_INCLUDE_PATH=/opt/homebrew/include
pip3 install pybgpstream

Then it works just great!

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