Skip to content

Add explicit dependency on openldap for determinate results

Thomas Friedrichsmeier requested to merge work/libcurl_deps into master

Not sure, whether this is the correct solution. Problem:

Apparently, libcurl will optionally link against libldap-2.4.so, if that is available during the build. I just ran into the situation that the craft binary cache includes a libcurl with that linkage, while however nothing in my image depended on openldap, and so libldap-2.4.so was missing.

Two solutions worked for me:

  • rebuilding libcurl with --no-cache, without having openldap around
  • or installing openldap

To avoid getting into this situation, this patch simply adds an explicit dependency.

Merge request reports