Developing applications

Red Hat Enterprise Linux 9.2 LPAR mode z/VM guest

To develop applications, you must install the development version of the zFCP HBA API provided by the libzfcphbaapi-devel RPM and link your application against the library.

Procedure

  1. Install the development RPM for the zFCP HBA API.
    Use, for example, yum:
    # yum install libzfcphbaapi-devel

    The development RPM libzfcphbaapi-devel provides the necessary header files and .so symbolic links needed to program against the zFCP HBA API library.

  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 load the library.