[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:
Related
is related to LU-1606 lustre_idl.h does not compile in user... Closed
is related to LU-812 Support for Linux 3.0 kernels Resolved
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

Generated at Sat Feb 10 01:23:10 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.