[LU-2196] Build shared version of liblustreapi Created: 16/Oct/12 Updated: 19/Apr/13 Resolved: 17/Oct/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Trivial |
| Reporter: | Guy Coates | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 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. |
| Comments |
| Comment by Andreas Dilger [ 17/Oct/12 ] |
|
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 |