{{ $t('productDocDetail.guideClickSwitch') }}
{{ $t('productDocDetail.know') }}
{{ $t('productDocDetail.dontRemind') }}
6.11.3
{{sendMatomoQuery("Sangfor Cloud Platform (SCP)","SFVDDK Installation")}}

SFVDDK Installation

{{ $t('productDocDetail.updateTime') }}: 2026-04-29

SFVDDK is provided as a compressed file in tar.gz format, with the file name sfvddk.{x.x.x}_{arch}.tar.gz. In the file name, {x.x.x} represents the SFVDDK version and {arch} represents the CPU architecture of SFVDDK. After decompressing the file, the directory structure is as follows:

bin: Contains executable files of tools.

doc: Contains HTML documentation describing the SFVDDK APIs.

example: Contains SFVDDK API use examples.

include: Contains SFVDDK API header files.

lib64: Contains SFVDDK API implementations and dependent .so files.

md5file: Describes the MD5 values of .so files and header files.

SFVDDK dependencies are as follows:

Table 3-1 SFVDDK Dependencies

Operating Platform

64-bit Linux (Windows is not supported)

GCC Version

4.6.4

Glibc Version

2.13

Installation procedure on Linux:

Step 1.Download the SFVDDK package and decompress it.

Step 2.Apply the SFVDDK dynamic link library to the execution environment:

Option 1: Add the library path to the app execution environment using LD_LIBRARY_PATH.

Option 2: Add the absolute path of the library to the /etc/ld.so..conf file, then run the following command to update the library cache:

ldconfig -v

To compile a backup app developed using SFVDDK, ensure the necessary dynamic libraries are linked. For a source file named demo.c, the compilation command is as follows:

gcc/g++ demo.c -lpthread -lhogweed -lnettle -ltasn1 -lgnutls -lnbd -lsf_disk_lib