Developing applications

Ubuntu 22.04 LTS LPAR mode z/VM guest

To develop applications, you must install the development version of the zFCP HBA API provided by the zfcp-hbaapi-dev package, and link your application against the library.

Procedure

  1. Install the development package for the zFCP HBA API.
    Use, for example, apt-get:
    # apt-get install zfcp-hbaapi-dev

    The development package zfcp-hbaapi-dev provides the necessary header files and .so symbolic links needed to program against the zFCP HBA API.

  2. Add the command-line option -lzfcphbaapi during the linker step of the build process to link your application against the zFCP HBA API library.
  3. In the application, issue the HBA_LoadLibrary() call as the first call to initialize the library.