I am trying to run the sample code available at (https://neo4j.com/developer/go/) using golang neo4j driver but running into compiling issues.
I have build the seabolt 1.7.4 from source. Have the following variables in place PKG_CONFIG_PATH pointing to seabolt-1.7.4/build/dist/share/pkgconfig OPENSSL_ROOT_DIR=/usr/local/opt/openssl DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/seabolt-1.7.4/build/dist/lib
When I try to build my code with command env GOOS=linux go build -ldflags="-s -w" --tags seabolt_static -o bin/user users/user.go
I get the following error
github.com/neo4j-drivers/gobolt ../pkg/mod/github.com/neo4j-drivers/gobolt@v1.7.4/connector_worker.go:30:14: undefined: Config ../pkg/mod/github.com/neo4j-drivers/gobolt@v1.7.4/connector_worker.go:31:15: undefined: seaboltConnector
Can anyone point me in right direction.