Project

General

Profile

Bug #17438

Building Ceph 10.2.3 without OpenLDAP fails

Added by Roy Keene about 5 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Yes
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Compiling Ceph v10.2.3 with configure options: --with-radosgw --without-openldap

fails to create a buildable product.

Compilation fails with the error:

  CXXLD    radosgw-token
  CXXLD    radosgw-object-expirer
./.libs/librgw.so: undefined reference to `parse_rgw_ldap_bindpw(CephContext*)'
./.libs/librgw.so: undefined reference to `parse_rgw_ldap_bindpw(CephContext*)'
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status

This worked in Ceph v10.2.2

A quick grep over the source shows that "src/rgw/librgw.cc" and "src/rgw/rgw_rest_s3.cc" both reference parse_rgw_ldap_bindpw() without respect to the HAVE_OPENLDAP macro defined by the configure process, and no suitable replacement for this function is defined either.

History

#1 Updated by Roy Keene about 5 years ago

Issue was likely added in commit fe57aceeb02ad9163feb2d196589b5927cedfa0f

#2 Updated by Sage Weil over 4 years ago

  • Project changed from Ceph to rgw
  • Category deleted (build)
  • Severity deleted (3 - minor)

Also available in: Atom PDF