Bug 719772

Summary: Distribute libvomsc.so with voms-compat.
Product: [Fedora] Fedora EPEL Reporter: Derek <djw8605>
Component: vomsAssignee: Mattias Ellert <mattias.ellert>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el5CC: bbockelm, djw8605, mattias.ellert, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-08 06:54:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch to add libvomsc.so none

Description Derek 2011-07-07 23:52:07 UTC
Created attachment 511807 [details]
Patch to add libvomsc.so

Description of problem:
voms-compat package does not create libvomsc.so.  It does create libvomsc.so.0.  In fact no package creates libvomsc.so.  Cannot build against the vomsc.


Version-Release number of selected component (if applicable):
2.0.2-1 (though compat version is 1.9.19.2-3)

How reproducible:
Install voms-compat

Steps to Reproduce:
1.
2.
3.
  
Actual results:
No libvomsc

Expected results:
have libvomsc

Additional info:
Fix is trivial.  Simple change of the spec file adds libvomsc.  Question is if this was on purpose.

Comment 1 Mattias Ellert 2011-07-08 06:54:37 UTC
The libvomsc is deprecated by upstream. Upstream says in the release notes:

"The libvomsc.so library has disappeared. It was deprecated since 2006, and since 2006 libvomsapi offered both the C and C++ interfaces. Link to that instead. Indeed, libvomsc for four years has been nothing else than a renamed libvomsapi."

The voms-compat package is providing the old libraries for binary compatibility in order not to break existing binaries linked to it, but new and recompiled binaries should use libvomsapi instead, which is the library maintained by upstream. Not providing the headers and the .so symlink in the compat package was deliberate. Only old releases that had the old libraries will have the voms-compat package. New releases like Fedora 16 will not have it.

Just changing -lvomsc to -lvomsapi in your Makefile should be sufficient.

For a successful migration from libvomsc to libvomsapi (myproxy) see:
https://bugzilla.redhat.com/show_bug.cgi?id=679679
http://bugzilla.mcs.anl.gov/globus/show_bug.cgi?id=7133