Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.47 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.47 KB

Seabolt for M1

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.

Prerequisites

  1. Install XCode,
  2. Install XCode Command Line Tools via xcode-select --install
  3. Install CMake brew install cmake
  4. Install OpenSSL brew install openssl
  5. 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)

Building

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.

Move to the right dir

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