Hi Dylan,

On Tue, May 22, 2018 at 04:39:21PM -0000, Dylan Gray wrote:
>The dependency is a problem because my program depends on gssapi_krb5,
>krb5, sasl, and openldap. On Ubuntu, the linker will throw errors
>because "libkrb5.so.26, needed by //usr/lib/x86_64-linux-
>gnu/libgssapi.so.3, may conflict with libkrb5.so."

I see. Yes, I can see how that would be a problem. The linker warning is 
only a warning, but the ABIs very likely do conflict.

As far as I know the MIT and Heimdal libraries can be combined at 
runtime, thanks to symbol versioning; but that doesn't help you at build 
time.

I don't think changing libldap's linkage in an update to a 
several-years-old stable release is a good plan, though. It's at least 
as likely that doing so would break someone else's existing program (or 
worse, someone else's existing compiled binaries.)

I suppose if it were possible for you to use GSSAPI via SASL (like 
libldap does) instead of directly, you'd be doing that already.

I'm not really sure what to suggest here. I'll have to think about this. 
Maybe someone else reading this will have an idea.

(I'm actually not sure why libldap links against Heimdal in the first 
place. MIT is usually the default choice for libkrb5. Maybe because 
Heimdal was already pulled into the openldap build for other reasons.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772530

Title:
  OpenLDAP depends on old version of KRB5 which conflicts with other
  packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1772530/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to