Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ DataStore SDK Programmer's Guide for XBSA 1.1.0
  3. How to build an XBSA application
  4. Static libraries
Veritas NetBackup™ DataStore SDK Programmer's Guide for XBSA 1.1.0

Static libraries

The example Makefiles have example entries for using static libraries for your XBSA application. These entries include the path to the static archive library, libxbsa.a, along with the system libraries that are also required to be included.

For the UNIX platforms, (from Makefile.unix) see the following example:

#LIBS    = $(XBSA_SDK_DIR)/lib/HP-UX-IA64/HP-UX11.31/libxbsa.a
#LIBS    = $(XBSA_SDK_DIR)/lib/Linux/Debian2.6.32/libxbsa64.a -lc -ldl
#LIBS    = $(XBSA_SDK_DIR)/lib/Linux/RedHat2.6.32/libxbsa64.a -lc -ldl
#LIBS    = $(XBSA_SDK_DIR)/lib/Linux/SuSE4.4.73/libxbsa64.a -lc -ldl
#LIBS    = $(XBSA_SDK_DIR)/lib/Linux-ppc64le/IBMpSeriesRedHat3.10.0/libxbsa.a -lc -ldl
#LIBS    = $(XBSA_SDK_DIR)/lib/Linux-ppc64le/IBMpSeriesSuSE4.4.21/libxbsa.a -lc -ldl
#LIBS    = $(XBSA_SDK_DIR)/lib/Linux-s390x/IBMzSeriesRedHat2.6.32/libxbsa.a -lc -ldl
#LIBS    = $(XBSA_SDK_DIR)/lib/Linux-s390x/IBMzSeriesSuSE4.4.73/libxbsa.a -lc -ldl
#LIBS    = $(XBSA_SDK_DIR)/lib/RS6000/AIX6/libxbsa64.a -ldl -lc
#LIBS    = $(XBSA_SDK_DIR)/lib/Solaris/Solaris10/libxbsa64.a -lintl -lsocket -lnsl 
-ldl -ladm
#LIBS    = $(XBSA_SDK_DIR)/lib/Solaris/Solaris_x86_10_64/libxbsa.a -lintl -lsocket 
-lnsl -ldl -ladm

For the Windows platforms, see the following example:

#LIBS    = $(XBSA_SDK_DIR)\lib\Windows-x64\Windows\xbsa.lib

Feedback

Was this page helpful?
Previous

How to debug the application

Next

Dynamic libraries

Feedback

Was this page helpful?