Seabolt is the C Connector Library for Neo4j. The library supports multiple versions of the Bolt protocol through the new Connector API and will provide a base layer for a number of language drivers.
This repo is forked from the original one, that you can find here. The reason behind this is adding support for the M1 chip MacBooks with Big Sur.
- Install XCode,
- Install XCode Command Line Tools via
xcode-select --install
- Install CMake
brew install cmake
- Install OpenSSL
brew install openssl
- Create an environment variable named
OPENSSL_ROOT_DIR
that points to the openssl library installation path (default is/usr/local/opt/openssl
, but on the M1 the brew packages should be under/opt/homebrew
)
To build the project, first of all download the source code. Then from the root directory run the make script:
./make_debug.sh
or
./make_release.sh
This will compile and deposit project artifacts in the build/dist/lib
directory.
To create distributable packages, invoke cpack
in build
directory (after make_debug.sh
or make_release.sh
is completed) and all binary package artifacts will be placed in build/dist-package
directory.
Finally move the libseabolt to the standard directory where other tools will search for it:
cd build/dist/lib
cp libseabolt17.dylib /usr/local/lib/libseabolt17.dylib