Install the C/C++ SDK on Linux

To install the C/C++ SDK on Linux:
  1. Download the C/C++ SDK from the Downloads Portal.
  2. Extract the SDK to the desired SDK home directory location, such as in /optReplace VERSION
    sudo tar xvzf appdynamics-sdk-native-64bit-linux-VERSION.tar.gz -C /opt
  3. Update your build scripts to be able to access the Splunk AppDynamics SDK library files:
    1. Add /opt/appdynamics-cpp-sdk/lib to your library path. For example, -L/opt/appdynamics-cpp-sdk/lib.
    2. Add -lappdynamics to your link options.
  4. Modify your program to use the Splunk AppDynamics C/C++ SDK.
  5. Ensure that the ulimit setting for open file descriptors on the operating system is set to a sufficient number.
    At a minimum, you will need two file descriptors for each active thread that calls the C++ SDK appd_sdk_init() function.