v1.10

Document

How to Start SequoiaDB

Basic Operation

Data Model

Database Management

Aggregation

Index

Replication

Cluster

Connector

Reference

Development

Release Note

FAQ

  • Content
  • Comments
  • History

C Environment to Build

Get Driver Development Kit

Download SequoiaDBDriver Development kit for the corresponding operating systems from http://www.sequoiadb.com/en/.

Configure development environment

  • Linux

    1.Extract the Driver Development kit from the downloaded archive.

    2.Copy folder named driver from the downloaded archive to development directory(suggest to put on third-party directory), and renameit as "sdbdriver".

    3. Add directory named "sdbdriver/include" into compiled directory:

    Dynamic Link:

    Use lib directory libsdbc.so dynamic library, gcc compiler parameters forms such as:

    cc testClient.c -o testClientC -I <path>/sdbdriver/include -L <path>/sdbdriver/lib -lsdbc 

    Where: PATH is sdbdriver placed path, When you run the program, you need to specify the path to the LD_LIBRARY_PATH contains libsdbc.so dynamic library.

    export LD_LIBRARY_PATH=<path>/sdbdriver/lib 
    • Note:

      If there will be an error message when you run the program:

      error while loading shared libraries: libsdbc.so: cannot open shared object file: No such file or directory

      Said LD_LIBRARY_PATH environment variable is not set properly, it is recommmended to set to /etc/profile or application startup script, avoiding each new terminal will need to re-open setting.

    Static Link:

    Use lib directory libstaticsdbc.a static library, gcc compiler parameters forms such as:

    cc testClient.c -o testClientC -I <path>/sdbdriver/include –L <path>/sdbdriver/lib/libstaticsdbc.a -lm
  • Windows

    Windows driver development kit is not released yet.

Related information
please login to comment.
Latest Comment
  • 2015-03-14

About Us

SequoiaDB is a financial-level distributed database vendor and is the first Chinese database listed in Gartner’s Magic Quadrant OPDBMS report. SequoiaDB has recently released version 3.0.
SequoiaDB is now penetrating the vertical sector Financial Industry quickly and had more than 50 banking clients and hundreds of enterprise customers in industries including government, telecommunication, Internet and IoT.

Beijing:
Tower R, No.8 North Star East Road, Chaoyang District, Beijing,China
Guangzhou:
Tower A, No.22 Qinglan Street, Panyu District, Guangzhou,China
Shenzhen:
Tsing Hua Tech Park, Nanshan District, Shenzhen,China
Tel:400-8038-339
E-mail:contact@sequoiadb.com