Bug 659776

Summary: Plugins writers need pkg-config support
Product: [Retired] 389 Reporter: Simo Sorce <ssorce>
Component: Server - PluginsAssignee: Rich Megginson <rmeggins>
Status: CLOSED DUPLICATE QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: high    
Version: 1.2.7CC: benl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-04 17:20:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 639035, 656390    

Description Simo Sorce 2010-12-03 16:30:38 UTC
With the recent switch from using mozldap to openldap libraries plugin writers have no way to know which library to use.
Dirsrv should provide pkg-config support so that plugins can get the right set of libraries to use from pkg-config --libs

Comment 1 Rich Megginson 2010-12-03 16:50:57 UTC
I don't think this affects DSIPA2.0 in RHEL, as long as you can specify in the .spec file for ipa to use mozldap or openldap.  But it does affect development on Fedora.

To really fix this, we need a real 389-ds-base-devel package with pkg-config support and additionally a 389-ds-base-config script that provides the path to slapi-plugin.h (note that openldap also provides slapi-plugin.h in /usr/include), other build flags and libs used to build 389-ds-base.

Comment 2 Rich Megginson 2011-01-04 17:20:36 UTC

*** This bug has been marked as a duplicate of bug 252249 ***