For more information, see the Chainlink Solana Documentation.
In order to build the project locally for arm64, one might find it useful to link the dependency libraries dynamically.
The following steps install arm64 version of librdkafka
and link it dynamically during the build:
- Install the dependencies
brew install openssl pkg-config librdkafka
- Follow the after-install instructions to let
pkg-config
findopenssl
export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"
- Build using dynamic tag
go build --tags dynamic ./...