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

Build shared version of liblustreapi

Details

    • New Feature
    • Resolution: Duplicate
    • Trivial
    • None
    • None
    • None
    • 5238

    Description

      Hi,

      The lustre client only contains a static version of liblustreapi. Including a shared version of liblustreapi would simplify setting/getting striping of lustre files from languages such as python, which can call functions in shared libraries via ctypes.

      Attachments

        Issue Links

          Activity

            [LU-2196] Build shared version of liblustreapi

            This change has already been made in the master branch via http://review.whamcloud.com/3779, and will be included in Lustre 2.4. Note that if you compile a binary against the dynamic library, it will not run on systems running earlier versions of Lustre due to the fact that liblustreapi.so does not exist in the RPMs installed with those earlier versions.

            Also of interest is the change to rename the header "lustreapi.h" instead of "liblustreapi.h", though there will be a "liblustreapi.h" wrapper for backwards compatibility. http://review.whamcloud.com/3427

            adilger Andreas Dilger added a comment - This change has already been made in the master branch via http://review.whamcloud.com/3779 , and will be included in Lustre 2.4. Note that if you compile a binary against the dynamic library, it will not run on systems running earlier versions of Lustre due to the fact that liblustreapi.so does not exist in the RPMs installed with those earlier versions. Also of interest is the change to rename the header "lustreapi.h" instead of "liblustreapi.h", though there will be a "liblustreapi.h" wrapper for backwards compatibility. http://review.whamcloud.com/3427

            People

              wc-triage WC Triage
              gmpc@sanger.ac.uk Guy Coates
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: