Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-11914

Build error for l_getsepol.c due to missing openssl/evp.h

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0, Lustre 2.12.2
    • Lustre 2.13.0
    • RHEL7.5 without openssl-devel
    • 9223372036854775807

    Description

      I got a build failure due to a missing header for the newly-added l_getsepol command:

      l_getsepol.c:50:25: fatal error: openssl/evp.h: No such file or directory
      #include <openssl/evp.h>
      

      This requires the openssl-devel package to be installed in order to build, but that is not in the BuildRequires of lustre.spec file. Also, for sites that don't need this utility, the configure check should disable building l_getsepol if the header is not available.

      Finally, there is no l_getsepol.8 man page in lustre/doc for this command.

      Attachments

        Issue Links

          Activity

            People

              sebastien Sebastien Buisson
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: