Not able to make nebula client work for standalone nebula graph #112
Labels
affects/none
PR/issue: this bug affects none version.
process/fixed
Process of bug
severity/none
Severity of bug
type/bug
Type: something is unexpected
I have installed nebulagraph standalone for linux with the below mentioned installation steps. However I'm not able to make the client work.
Installation steps : Built from source
Nebulagraph (Standalone)
$ git clone --branch release-3.3 https://github.com/vesoft-inc/nebula.git
$ cd nebula
$ mkdir build && cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/nebula -DENABLE_TESTING=OFF -DENABLE_STANDALONE_VERSION=on -
DCMAKE_BUILD_TYPE=Release ..
$ make -j2
$ sudo make install
Nebula cpp client
$ git clone --branch release-3.3 https://github.com/vesoft-inc/nebula-cpp.git
$ cd nebula-cpp
$ mkdir build && cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make
$ sudo make install
$ sudo ldconfig
Start the nebula service
$ sudo /usr/local/nebula/scripts/nebula.service start all
Compile example code (SessionExample.cpp)
$ LIBRARY_PATH=/usr/local/nebula/lib:$LIBRARY_PATH g++ -std=c++11 SessionExample.cpp -I/usr/local/nebula/include -lnebula_graph_client -o session_example
Run session_example
$ ./session_example
I get the below log after the above step and the program doesn't terminate (gets stuck in ConnectionPool init function)
$ Current address : 127.0.0.1:9669
The text was updated successfully, but these errors were encountered: