#648 slapi-nis pulls in mozldap dependency on F14
Closed: Fixed None Opened 13 years ago by dpal.

The plan is to rely on the openldap library rather than on the mozldap library. slipi-nis should be updated and the dependency should be changed.


[root@lenovo /]# yum install slapi-nis
Loaded plugins: auto-update-debuginfo, presto, refresh-packagekit
Found 15 installed debuginfo package(s)
Enabling fedora-debuginfo: Fedora 14 - i386 - Debug
Enabling updates-testing-debuginfo: Fedora 14 - i386 - Test Updates Debug
Enabling ipa-devel-debuginfo: IPA development 14 - i386 - Debug
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package slapi-nis.i686 0:0.21-1.fc14 set to be installed
--> Processing Dependency: libprldap60.so for package: slapi-nis-0.21-1.fc14.i686
--> Processing Dependency: libssldap60.so for package: slapi-nis-0.21-1.fc14.i686
--> Processing Dependency: libldap60.so for package: slapi-nis-0.21-1.fc14.i686
--> Running transaction check
---> Package mozldap.i686 0:6.0.5-6.fc12 set to be installed
--> Processing Dependency: svrcore >= 4.0.3 for package: mozldap-6.0.5-6.fc12.i686
--> Running transaction check
---> Package svrcore.i686 0:4.0.4-5.fc12 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================
 Package                            Arch                          Version                                 Repository                        Size
=================================================================================================================================================
Installing:
 slapi-nis                          i686                          0.21-1.fc14                             updates                           86 k
Installing for dependencies:
 mozldap                            i686                          6.0.5-6.fc12                            fedora                           117 k
 svrcore                            i686                          4.0.4-5.fc12                            fedora                            15 k

Transaction Summary
=================================================================================================================================================
Install       3 Package(s)

Total download size: 218 k
Installed size: 583 k
Is this ok [y/N]:

Rich, is there a way to discover which set of LDAP libraries it is that the version of 389-ds-base-devel we're building against expects plugins to use?

I think in this case the location of the header files matters more than the libraries themselves because we need the definitions of variables like LDAP_SCOPE_SUBTREE, but since we use pkgconfig, we're better off linking to whatever libraries it tells us to use to avoid surprises.

Replying to [comment:2 nalin]:

Rich, is there a way to discover which set of LDAP libraries it is that the version of 389-ds-base-devel we're building against expects plugins to use?

I think in this case the location of the header files matters more than the libraries themselves because we need the definitions of variables like LDAP_SCOPE_SUBTREE, but since we use pkgconfig, we're better off linking to whatever libraries it tells us to use to avoid surprises.

There is no way currently to tell. We are planning to enhance the 389-ds-base-devel package to allow other packages to get this and other related information.

See https://bugzilla.redhat.com/show_bug.cgi?id=252249
and https://bugzilla.redhat.com/show_bug.cgi?id=659776

It appears that this was changed in an f14 update. FWIW, I don't agree with making a change like that in an update.

Fedora update for slapi-nis filed.

Metadata Update from @dpal:
- Issue assigned to nalin
- Issue set to the milestone: FreeIPA 2.0 - 2011/01 (cleanup)

7 years ago

Login to comment on this ticket.

Metadata