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: